/* ——— Force mobile header to be visible immediately ——— */
.ast-header-break-point .ast-mobile-header-wrap,
.ast-header-break-point .ast-mobile-header-wrap .ast-primary-header-bar,
.ast-header-break-point .ast-mobile-header-content,
.ast-header-break-point .site-branding,
.ast-header-break-point .custom-logo {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Kill any preloader overlay if a class is present */
.page-preloader, .site-preloader,
body[class*="preload"], body[class*="loading"] {
  display: none !important; opacity: 0 !important;
}

/* (Test) turn off sticky on small screens to remove compositor work */
@media (max-width: 768px){
  #masthead, #ast-mobile-header { position: static !important; }
  .site-branding .custom-logo { width: 140px !important; height: auto !important; } /* shrink so hero becomes LCP */
}

#masthead,
#ast-mobile-header {
    position: sticky !important;
    top: 0px !important;
    z-index: 9999 !important;
    background: #0A0E21    !important;
	 box-shadow: none !important;
	 border-bottom: 0 !important;
	
}

.site-header, #masthead { position: sticky !important; top:0 !important; z-index: 9999 !important; }
.site-header, #page, .site { overflow: visible !important;
border-bottom: 0 !important;}



@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
	
	
}

.testimonial-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.swiper {
    overflow: visible !important;
}

.swiper-slide {
    background: #fff;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 20px;
    align-items: stretch;
    min-height: 300px;
}

.video-container {
    flex: 0 0 40%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.video-container video {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    font-size: 40px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 50%;
    pointer-events: none;
}

.testimonial-text {
    flex: 0 0 60%;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 100%;
    padding-right: 10px;
}

.testimonial-text::-webkit-scrollbar {
    width: 6px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

@media (max-width: 768px) {
    .swiper-slide {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .video-container {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .testimonial-text {
        max-height: none;
    }
}
/* Restrict image size while keeping it sharp */


@media (min-width: 1280px) {
  .custom-quote-image img {
    max-width: 360px;
		height: 500px !important;
		width: 400px !important;
  }
}

@media (max-width: 767px) {
  .custom-quote-image img {
   max-width: 350px !important;
		height: 500px !important;
		width: 350px !important;
    padding-left: 15px !important;
		padding-right: 5px !important;
    display: block;
  }
}

/* Aggressive: covers UAG (Spectra) + Gutenberg column markup */
.featured-row,
.featured-row .uagb-columns__inner-wrap,
.featured-row .uagb-row__wrap,
.featured-row .uagb-columns__wrap,
.featured-row .wp-block-columns,
.featured-row .uagb-columns {
  display: flex !important;
  gap: 12px !important;               /* change gap here */
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  box-sizing: border-box !important;
}


/* Hide all right-column mv-section groups by default */
.content-right .mv-section { display: none; }

/* Show only when active */
.content-right .mv-section.active { display: block; }

/* If JS not yet executed (or JS disabled), show first section as fallback */
.content-right .mv-section:first-child { display: block; }

/* Optional: basic styling for active TOC link */
.toc-list a { text-decoration:none; color:#444; padding:10px; display:block; border-radius:8px; background:#f9f9f9; margin-bottom:8px; }
.toc-list a.active { background:#c9a14a; color:#fff; font-weight:700; }

/* Optional: make TOC sticky on desktop */
@media (min-width: 992px) {
  .toc-sidebar { position: sticky; top: 28px; }
}

/* Justify all paragraphs inside any Group block */
.wp-block-group p {
  text-align: justify;
  text-align-last: left;   /* last line aligned left */
  hyphens: auto;           /* better word breaks */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

 
 .page,  
.page-template-default .content-area {
  
  padding: 0 !important;
}

@media (max-width: 544px) {
  .mv-title { font-size: 25px !important; line-height: 1 !important; }

	html { 
  font-synthesis-weight: none;
  font-synthesis-style: none;
  font-kerning: normal;
  font-optical-sizing: auto; /* good for Playfair if variable */
}
/* Make sure strong/b headings map to real loaded weights */
b, strong { font-weight: 600; }      /* or 700 if that’s your brand */
h1, h2, h3, h4, h5, h6 { font-weight: 700; }
	
	/* Hide any MicroModal slide when it's marked as hidden */
.micromodal-slide[aria-hidden="true"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure it's shown only when actually open */
.micromodal-slide[aria-hidden="false"] {
  display: block !important;
}

/* Make overlay a true fullscreen overlay, not a block under the footer */
.modal__overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
/* --- MONEYVESTA — Mobile menu (off-canvas/accordion) --- */

/* Submenu panel */
.ast-header-break-point .main-header-menu .sub-menu {
  background: #0C1126 !important;       /* navy panel */
  margin: 6px 14px !important;           /* indent panel */
  padding: 6px 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  border: 1px solid rgba(203,178,106,.25); /* subtle gold hairline */
}

/* Submenu rows: remove Astra’s default separators */
.ast-header-break-point .main-header-menu .sub-menu .menu-item,
.ast-header-break-point .main-header-menu .sub-menu .menu-link {
  border: 0 !important;
}

/* Submenu links (text + hover) */
.ast-header-break-point .main-header-menu .sub-menu .menu-link {
  background: transparent !important;
  color: #F8F6F2 !important;             /* ivory text */
  padding: 12px 16px !important;
}
.ast-header-break-point .main-header-menu .sub-menu .menu-link:hover {
  background: #CBB26A !important;        /* gold hover */
  color: #0C1126 !important;             /* navy text */
  border-radius: 4px;
}

/* Keep TOP-LEVEL rows white with gold divider (as in your screenshot) */
.ast-header-break-point .main-header-menu > .menu-item > .menu-link {
  background: #F8F6F2 !important;
  color: #2A2E3B !important;
  border-bottom: 1px solid rgba(203,178,106,.5) !important;
}

/* Chevron / caret color + touch area */
.ast-header-break-point .ast-menu-toggle {
  color: #CBB26A !important;
}
.ast-header-break-point .menu-item-has-children > .menu-link {
  padding-right: 44px !important; /* room for toggle */
}

	.ast-desktop .main-header-menu .sub-menu,
.ast-desktop .ast-builder-menu .sub-menu{
  position:relative!important;
  background:transparent!important;
  padding:8px 0!important;
  border:0!important;
  border-radius:8px!important;
  isolation:isolate;
}
.ast-desktop .main-header-menu .sub-menu::before,
.ast-desktop .ast-builder-menu .sub-menu::before{
  content:"";
  position:absolute;
  inset:0;
  background:#0C1126;
  border:1px solid rgba(203,178,106,.25);
  border-radius:8px;
  box-shadow:0 14px 28px rgba(0,0,0,.24);
  z-index:0;
}
.ast-desktop .main-header-menu .sub-menu a{
  position:relative;
  z-index:1;
  display:block;
  color:#F8F6F2!important;
  background:transparent!important;
  padding:10px 16px;
  white-space:nowrap;
}
.ast-desktop .main-header-menu .sub-menu a:hover{
  background:#CBB26A!important;
  color:#0C1126!important;
  border-radius:4px;
}
.ast-desktop .main-header-menu .sub-menu li,
.ast-desktop .main-header-menu .sub-menu li>a{
  background:transparent!important;
}