
  /* Container Setup */
  .cp-gallery {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    box-sizing: border-box;
  }

  /* Individual Column - Default State */
  .cp-item {
    position: relative;
    width: 25%;
    transition: width 0.5s ease;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0; /* 10px left and right */
  }

  /* Dark Overlay using Pseudo-element */
  .cp-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.16);
    pointer-events: none;
    z-index: 1;
  }

  /* Image Handling */
  .cp-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    margin: 0;
  }

  /* Title Positioning */
  .cp-item h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    margin: 0;
    width: 90%;
    color: white;
    font-size: 18px;
    pointer-events: none;
  }

  /* DESKTOP ONLY: Hover Effects */
  @media (min-width: 769px) {
    /* When any item is hovered, all items go to 20% */
    .cp-gallery:has(.cp-item:hover) .cp-item {
      width: 20% !important;
    }

    /* The hovered item becomes 40% */
    .cp-gallery:has(.cp-item:hover) .cp-item:hover {
      width: 40% !important;
    }
  }

  /* MOBILE ONLY: Vertical Stack */
  @media (max-width: 768px) {
    .cp-gallery {
      flex-direction: column;
      height: auto;
    }
    .cp-item {
      width: 100% !important;
      height: 250px;
      padding: 0; /* No side padding on mobile */
    }
  }

.hero-wrapper {
    height:100vh;
  overflow: hidden;
}

.hero-wrapper video {
  position: relative;
  z-index: 1;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.23);
  z-index: 2;
  pointer-events: none;
}

.hero-wrapper h1 {
  position: absolute;
  top: 46vh;
  width: 100%;
  color: white;
  text-align: center;
  z-index: 3;
      text-shadow: 0 0 36px #9b70e6cc;
}

.hero-wrapper h3{
    position: absolute; top: 39vh; width:100%; color:white; text-align:center;z-index:4;
}

.ast-primary-header-bar {
    background: #000000bb;
    position: fixed;
    width: 100%;
    border-bottom: 0 !important;
    backdrop-filter: blur(20px);
}

.site-logo-img{
  width:100px;
}

.ast-logo-title-inline .ast-site-identity {padding: 0 !important;}
  
@font-face {
  font-family: 'Megan';
  src: url('/wp-content/themes/astra-child/megan.otf') format('opentype');
  font-display: swap;
}
  
h1{
  font-family: 'Megan', sans-serif;
  font-size: clamp(46px, 7vw, 80px) !important;
   line-height: clamp(50px, 7.2vw, 90px) !important;
  font-weight:400;
  letter-spacing:0px;
  line-height: 1.6;
}

.post p{
  color:#111 !important;
}

.post ul{
  color:#111 !important;
}

.post .cta-button{
      background: #885be6;
    color: white;
    padding: 14px 26px;
    text-decoration: none;
    border-radius: 50px;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section:first-child .post-thumb-img-content {
    margin-top: -1.5em;
    height: 220px;
    overflow: hidden;
}

.ast-blog-layout-4-grid .ast-article-inner .wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-links .page-link, .single .post-navigation a {color:#555588;font-weight:600 !important;margin-bottom:24px;}

.ast-pagination a, .nav-links a {
    color: #783aff !important;
}