/* =========================================================
   MariusElena – Consolidated Custom CSS
   ========================================================= */


/* =========================
   1) HEADER: Top (transparent)
   ========================= */
.ast-theme-transparent-header .main-header-bar:not(.ast-sticky-active) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}


/* =========================
   2) HEADER: Sticky (ink + blur + shrink)
   ========================= */
[data-stick-support="on"] {
  min-height: 0 !important;
}

.main-header-bar.ast-sticky-active,
.ast-header-sticked.main-header-bar {
  background-color: rgba(10,10,10,0.09) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  transition: background-color .25s ease, border-color .25s ease, padding .25s ease, backdrop-filter .25s ease;
}

.main-header-bar.ast-sticky-active .custom-logo,
.ast-header-sticked.main-header-bar .custom-logo {
  max-height: 34px;
  width: auto;
  transition: max-height .25s ease;
}

.main-header-bar.ast-sticky-active .main-header-menu > .menu-item > a,
.ast-header-sticked.main-header-bar .main-header-menu > .menu-item > a {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.2 !important;
}

.main-header-bar.ast-sticky-active.ast-sticky-shrunk {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  min-height: 0 !important;
}

.ast-sticky-main-shrink.ast-sticky-shrunk .main-header-bar,
.main-header-bar.ast-sticky-active.ast-sticky-shrunk {
  line-height: 40px !important;
}

.main-header-bar.ast-sticky-active.ast-sticky-shrunk .custom-logo {
  max-height: 28px !important;
  width: auto !important;
}

.main-header-bar.ast-sticky-active.ast-sticky-shrunk .main-header-menu > .menu-item > a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  line-height: 1.1 !important;
}

.main-header-bar.ast-sticky-active.ast-sticky-shrunk .ast-builder-grid-row-container,
.main-header-bar.ast-sticky-active.ast-sticky-shrunk .ast-builder-grid-row {
  min-height: 0 !important;
}


/* =========================
   3) GENERAL SITE STYLES
   ========================= */
h1.entry-title {
  font-size: 1.5em;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.logo-text span {
  color: #C0392B;
  font-family: 'Playfair Display', serif;
}

.ast-desktop .main-header-menu .menu-item .menu-join-now {
  background: linear-gradient(45deg, #e74c3c, #c0392b) !important;
  color: white !important;
  padding: 10px 18px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 14px !important;
  display: inline-block !important;
}

.ast-hb-account-login-wrapper .ast-hb-account-login {
  background-color: #1e1e1e !important;
}

.menu-toggle, button, .ast-button, .ast-custom-button, .button,
input#submit, input[type="button"], input[type="submit"], input[type="reset"] {
  border-radius: 6px !important;
}

.ast-hb-account-login-wrapper #loginform input[type=password],
.ast-hb-account-login-wrapper #loginform input[type=text] {
  background-color: #1E1E1E !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
}

body.home .entry-header,
body.home h1.entry-title {
  display: none !important;
}

/* =========================
   4) MOBILE TUNING
   ========================= */
@media (max-width: 768px) {
	/* 1. Force the background to stay transparent on all mobile sizes */
  .ast-theme-transparent-header .ast-primary-header-bar.ast-primary-header,
  .ast-theme-transparent-header .main-header-bar:not(.ast-sticky-active),
	.ast-primary-header-bar.ast-primary-header {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
    border-bottom: 0 !important;
  }

	/* Shrink the Navbar Height */
  .ast-theme-transparent-header .main-header-bar:not(.ast-sticky-active),
  .main-header-bar {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    min-height: 50px !important; /* Forces the header to stay slim */
  }

  /* Adjust the logo/text height to fit the slimmer bar */
  .site-header-primary-section-left, 
  .ast-bundle-box {
    padding: 0 !important;
    margin: 0 !important;
  }

  .logo-text {
    font-size: 15px !important;
    line-height: 1 !important;
  }

  /* Reduce the size of the mobile menu toggle button */
  .ast-mobile-menu-trigger-wrapper .menu-toggle {
    padding: 5px !important;
    min-height: 0 !important;
  }
  
  /* Rest of your card layout code continues here... */
	
	
.ast-theme-transparent-header .main-header-bar:not(.ast-sticky-active) {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.main-header-bar.ast-sticky-active,
.ast-header-sticked.main-header-bar {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.logo-text {
  font-size: 15px !important;
}

}

/* =========================
   5) MOBILE OFF-CANVAS MENU
   ========================= */
@media (max-width: 921px) {

  html.ast-off-canvas-active .ast-mobile-popup-inner,
  html.ast-off-canvas-active .ast-mobile-popup-content {
    background: rgba(10,10,10,0.94) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-inner {
    height: 100vh !important;
    max-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-content {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-content #ast-hf-menu-1-mobile,
  html.ast-off-canvas-active .ast-mobile-popup-content .main-header-menu,
  html.ast-off-canvas-active .ast-mobile-popup-content .main-header-menu > li,
  html.ast-off-canvas-active .ast-mobile-popup-content .main-navigation,
  html.ast-off-canvas-active .ast-mobile-popup-content .main-navigation ul,
  html.ast-off-canvas-active .ast-mobile-popup-content .main-header-bar-navigation,
  html.ast-off-canvas-active .ast-mobile-popup-content .ast-main-header-bar-alignment {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
  }

  .ast-theme-transparent-header.ast-header-break-point .ast-mobile-popup-content .main-header-menu .menu-link,
  .ast-header-break-point .ast-mobile-popup-content .main-header-menu .menu-link,
  html.ast-off-canvas-active .ast-mobile-popup-content .main-header-menu .menu-link {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-content .main-header-menu > li,
  html.ast-off-canvas-active .ast-mobile-popup-content .main-header-menu > li > a {
    border: none !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-content #ast-hf-menu-1-mobile {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-content #ast-hf-menu-1-mobile > li > a.menu-link {
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    padding: 16px 0 !important;
    display: block !important;
    letter-spacing: 0.2px;
  }

  html.ast-off-canvas-active .ast-mobile-popup-content #ast-hf-menu-1-mobile > li > a.menu-link:hover,
  html.ast-off-canvas-active .ast-mobile-popup-content #ast-hf-menu-1-mobile > li.current-menu-item > a.menu-link {
    color: #d4af37 !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-header .ast-mobile-popup-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    padding: 14px !important;
    border-radius: 12px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
  }

  html.ast-off-canvas-active .ast-mobile-popup-header .ast-mobile-popup-close:hover {
    opacity: 1 !important;
  }
}



/* =========================================================
   LEGACY LIVE HOMEPAGE — keep old homepage stable
   Applies to www.mariuselena.com/
   ========================================================= */

body.home .site-content {
  background:
    radial-gradient(circle at top center, rgba(201, 163, 91, 0.16), transparent 38%),
    #0f0f0f !important;
}

body.home a.wp-block-button__link,
body.home .elementor-button,
body.home a.button {
  border-radius: 999px !important;
  padding: 14px 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

body.home a.wp-block-button__link:hover,
body.home .elementor-button:hover,
body.home a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.38);
}

@media (min-width: 921px) {
  #ast-mobile-header {
    display: none !important;
  }
 }


      /* Pricing page (post 825) — kill Astra white card */
body.page-id-825 .ast-article-single,
body.page-id-825 .ast-separate-container .ast-article-single:not(.ast-related-post),
body.page-id-825 #primary,
body.page-id-825 .site-content,
body.page-id-825 .ast-container {
    background: transparent !important;
    box-shadow: none !important;
}

/* ── Account page — dark background ── */
.mepr-account-container,
.mepr-account-container #mepr-account-content,
.mepr-account-container .mp_wrapper {
  background: #030407 !important;
  color: #fff !important;
}


.mepr-pro-template #mepr-account-content {
  background: #030407;
  color: #fff;
}