/* Global header text color */
.site-header,
.site-header a,
.site-header nav a {
  color: #ffffff;
}

/* Logo text if applicable */
.site-header .logo,
.site-header .site-title {
  color: #ffffff;
}

/* Hover states */
.site-header a:hover {
  opacity: 0.85;
}
 /* --- Blog listing grid --- */
.primaq-blog-listing{
  padding: 40px 0;
}

.primaq-blog-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 900px){
  .primaq-blog-grid{
    grid-template-columns: 1fr;
  }
}

/* --- Cardlift --- */
.primaq-cardlift{
  width:100%;
}

.primaq-cardlift__link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.primaq-cardlift__media{
  position:relative;
  overflow:hidden;
  background:#000;
  min-height: 360px; /* adjust as needed */
  transform: translate3d(0,0,0);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.primaq-cardlift__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1);
  transition: transform 500ms ease;
}

/* Fallback if no featured image */
.primaq-cardlift__img--fallback{
  background: #111;
}

/* Bottom dark gradient */
.primaq-cardlift__overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.55) 22%,
    rgba(0,0,0,0.25) 48%,
    rgba(0,0,0,0.00) 70%
  );
  opacity: 1;
  transition: opacity 260ms ease;
}

/* Title */
.primaq-cardlift__content{
  position:absolute;
  left: 28px;
  right: 84px; /* reserve room for arrow */
  bottom: 24px;
  z-index: 2;
}

.primaq-cardlift__title{
  margin:0;
  color:#fff;
  font-size: 44px;   /* adjust to match your exact typography */
  line-height: 1.05;
  font-weight: 700;
}

/* Arrow */
.primaq-cardlift__arrow{
  position:absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  color:#fff;
  font-weight:700;
  line-height:1;
  font-size: 56px;
  opacity: .95;
  transform: translate3d(0,0,0);
  transition: transform 260ms ease, opacity 260ms ease;
}

/* Hover / focus */
.primaq-cardlift__link:hover .primaq-cardlift__media,
.primaq-cardlift__link:focus-visible .primaq-cardlift__media{
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
}

.primaq-cardlift__link:hover .primaq-cardlift__img,
.primaq-cardlift__link:focus-visible .primaq-cardlift__img{
  transform: scale(1.04);
}

.primaq-cardlift__link:hover .primaq-cardlift__arrow,
.primaq-cardlift__link:focus-visible .primaq-cardlift__arrow{
  transform: translateX(4px);
  opacity: 1;
}

/* Accessibility */
.primaq-cardlift__link:focus-visible{
  outline: none;
}

.primaq-cardlift__link:focus-visible .primaq-cardlift__media{
  outline: 2px solid rgba(255,255,255,0.65);
  outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .primaq-cardlift__media,
  .primaq-cardlift__img,
  .primaq-cardlift__arrow,
  .primaq-cardlift__overlay{
    transition: none !important;
  }
}

/* --- Blog Post Layout --- */

.primaq-blog-post{
  background: #000;
  color: #fff;
  min-height: 100vh;
}

.primaq-blog-hero{
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}

.primaq-blog-hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.primaq-blog-container{
  max-width: 900px;
  margin: 80px auto;
  padding: 0 24px;
}

.primaq-blog-title{
  margin: 0 0 24px 0;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}

.primaq-blog-date{
  margin-bottom: 40px;
  font-size: 14px;
  opacity: 0.7;
}

.primaq-blog-body{
  font-size: 18px;
  line-height: 1.7;
}

.primaq-blog-body p{
  margin-bottom: 24px;
}

.primaq-blog-body h2,
.primaq-blog-body h3{
  margin-top: 48px;
  margin-bottom: 16px;
  color: #fff;
}

.primaq-blog-body a{
  color: #fff;
  text-decoration: underline;
}


/* =========================
   PRIMAQ FOOTER V2 (CLEAN)
   ========================= */

.primaq-footer{
  width: 100%;
  background: #000;
  color: #fff;
  padding: 80px 40px 40px; /* smaller bottom */
}

.primaq-footer__inner{
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.primaq-footer__left{
  flex: 0 1 720px;
  min-width: 0;
}

.primaq-footer__right{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;     /* RIGHT align column */
  text-align: right;         /* RIGHT align text */
  gap: 24px;
}

/* ===== Badges ===== */
.primaq-footer__badges{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 40px;

}


/* ===== Menu (HubSpot simple_menu) ===== */
.primaq-footer__menu{
  width: 100%;
}

.primaq-footer__menu,
.primaq-footer__menu *{
  text-align: right !important;
}

.primaq-footer__menu .hs-menu-wrapper,
.primaq-footer__menu .hs-menu-flow-horizontal,
.primaq-footer__menu .hs-menu-flow-vertical{
  width: 100% !important;
}

/* Force UL to stack and align to the right edge */
.primaq-footer__menu ul{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;   /* RIGHT edge */
  justify-content: flex-start !important;
  width: 100% !important;
}

.primaq-footer__menu li{
  margin: 0 !important;
  padding: 0 !important;
}
/* ===== Social follow ===== */
.primaq-footer__social{
  width: 100%;
  display: flex;
  justify-content: flex-end; /* RIGHT edge */
}

/* If HubSpot adds an internal wrapper */
.primaq-footer__social .hs-social-follow{
  margin: 0 !important;
}

@media (max-width: 600px){
  .primaq-footer__inner{
    flex-direction: column;
    gap: 32px;
  }

  .primaq-footer__left,
  .primaq-footer__right{
    flex: none;
    width: 100%;
  }

  .primaq-footer__right{
    align-items: flex-start;
    text-align: left;
  }

  .primaq-footer__menu,
  .primaq-footer__menu *{
    text-align: left !important;
  }

  .primaq-footer__menu ul{
    align-items: flex-start !important;
  }

  .primaq-footer__social{
    justify-content: flex-start;
  }
}
/* Most common cause: last element's margin creates a big gap */
body.hs-blog-post article.primaq-blog-post > :last-child,
body.hs-blog-post article.primaq-blog-post > :last-child > :last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* If the last thing is rich text, kill paragraph margin at the end */
body.hs-blog-post article.primaq-blog-post p:last-child {
  margin-bottom: 0 !important;
}
/* DnD sections often have bottom spacing even when parents show no padding */
body.hs-blog-post .dnd-section:last-of-type {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* Blog post: ensure the post area itself is black so gaps can't show white */
body.hs-blog-post main#main-content,
body.hs-blog-post article.primaq-blog-post {
  background: #000 !important;
}

/* Prevent any default spacing from creating a visible band */
body.hs-blog-post article.primaq-blog-post {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* Remove bottom margin on the last element inside the post */
body.hs-blog-post article.primaq-blog-post > :last-child {
  margin-bottom: 0 !important;
}
/* Blog post page: prevent wrapper white from showing above the global footer */
body .body-wrapper.hs-blog-post,
body .body-wrapper.hs-blog-post main#main-content,
body .body-wrapper.hs-blog-post article.primaq-blog-post {
  background-color: #000 !important;
}
/* Remove back-to-top button */
#goTop {
  display: none !important;
}
@media (max-width: 768px) {

  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 22px !important;
  }

  p {
    font-size: 16px !important;
    line-height: 1.5;
  }
}
.error-404 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 60vh;
  text-align: center !important;
  padding: 80px 20px;
  background: #000 !important;
}

.error-404__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center !important;
}
.error-404__code {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 7rem;
  line-height: 1;
  margin-bottom: 0.25em;
  color: #fff;
  opacity: 1;
}

.error-404__btn {
  display: inline-block;
  background: #d0c3ff !important;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.error-404__btn:hover {
  opacity: 0.85;
}
  }
/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/