/* Main navigation*/
/* Background blur filter */
.theme-header {
  	background-color: rgba(255, 255, 255, 0.98) !important;
}

/* Homepage */
/* Ecosystem section */
/* Image with text component tweak */
.eco-platform-entry div {
  	display: flex;
    flex-direction: row;
	align-items: center;
	gap: 12px; /* adjust spacing between logo and text */
}

@media (max-width: 1023px) {
    .eco-platform-entry .zpimage-with-text-container {
    	flex-direction: row;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 767px) {
	.eco-platform-entry .zpimage-with-text-container {
    	flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
    }
}

@media (max-width: 479px) {
	.eco-platform-entry .zpimage-with-text-container {
    	flex-direction: column;
        align-items: start;
        gap: 0px;
    }
}

.eco-platform-entry .zpimage {
	width: auto !important;
  	max-width: 200px;
  	max-height: 50px;
}

.content-card-hero .zpimage-container {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.content-card {
  	display: flex !important;
  	flex-direction: column;
  	height: 100%; /* or a fixed height, so there's room to push into */
}

.content-card-cta {
	margin-top: auto !important; /* this pushes it to the bottom */
  	align-self: flex-start; /* this keeps it left-aligned, not stretched */
}

.content-card-hr {
    margin-top: auto !important; /* this pushes it to the bottom */
}

.content-card-logo {
    max-width: 200px;
    min-width: 120px;
}

.content-card .zpelem-buttonicon {
  	margin-block-start: 0px; /* your new value */
}

.content-card .zpbutton-content {
  	text-align: left;
}

/* Stats row column shift */
/* Neutralize zpcol- classes in stats row*/
.stats-row > [class*="zpcol-"] {
  max-width: none !important;
  width: auto !important;
  flex: unset !important;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* desktop default */
  gap: 1px;
}

@media (max-width: 991px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr); /* tablet */
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr); /* mobile: stack fully, or keep repeat(2,1fr) if you want 2-col on phone too */
    gap: 20px;
  }
}

@media (max-width: 479px) {
  .stats-row {
    grid-template-columns: 1fr; /* mobile: stack fully, or keep repeat(2,1fr) if you want 2-col on phone too */
    gap: 20px;
  }
}

/* Brands Ecosystem - Content Card List */
/* Brands List - For the old brand cards list that utilizes zp column. Unused.
.brands-list > [class*="zpcol-"] {
  max-width: none !important;
  width: auto !important;
  flex: unset !important;
}

.brands-list {
  	display: grid;
  	grid-template-columns: repeat(3, 1fr);
 	gap: 24px;
}

@media (max-width: 1023px) {
  	.brands-list {
    	grid-template-columns: repeat(2, 1fr);
    	gap: 24px;
  }
}

@media (max-width: 767px) {
  	.brands-list {
    	grid-template-columns: 1fr;
    	gap: 20px;
  	}
}
*/

/* Brands List - For the new card list that leverages the Box component and listing cards in a flex grid, more scalable, not constrained to zp columns */
.brands-content-card-list .zpelem-col {
  	max-width: none !important;
  	width: auto !important;
  	flex: unset !important;
}

.brands-content-card-list .zpelem-col {
  	display: grid !important;
  	grid-template-columns: repeat(2, 1fr); /* desktop default */
 	gap: 30px;
}

@media (max-width: 1023px) {
  	.brands-content-card-list .zpelem-col {
    	grid-template-columns: repeat(2, 1fr); /* tablet */
    	gap: 24px;
  }
}

@media (max-width: 767px) {
  	.brands-content-card-list .zpelem-col {
    	grid-template-columns: 1fr; /* mobile: stack fully, or keep repeat(2,1fr) if you want 2-col on phone too */
    	gap: 24px;
  	}
}

/* Partners List - For the new card list that leverages the Box component and listing cards in a flex grid, more scalable, not constrained to zp columns */
.partners-content-card-list .zpelem-col {
  	max-width: none !important;
  	width: auto !important;
  	flex: unset !important;
}

.partners-content-card-list .zpelem-col {
  	display: grid !important;
  	grid-template-columns: repeat(3, 1fr); /* desktop default */
 	gap: 30px;
}

@media (max-width: 1023px) {
  	.partners-content-card-list .zpelem-col {
    	grid-template-columns: repeat(2, 1fr); /* tablet */
    	gap: 24px;
  }
}

@media (max-width: 767px) {
  	.partners-content-card-list .zpelem-col {
    	grid-template-columns: 1fr; /* mobile: stack fully, or keep repeat(2,1fr) if you want 2-col on phone too */
    	gap: 24px;
  	}
}

/* Heading scale and clamping */
.hero-title h1 {
    font-size: clamp(2.2rem, 4.8vw + .05rem, 5.6rem) !important;
    line-height: 1 !important;
}

.section-title h2 {
    font-size: clamp(2rem, 3vw + 0.5rem, 4.75rem) !important;
    line-height: 1.1 !important;
    text-wrap: balance !important;
}

.section-title h4 {
    font-size: clamp(1.125rem, 1rem + 0.75vw, 1.5rem) !important;
    line-height: 1 !important;
    text-wrap: balance !important;
}

/* Brands page */
/* Hero section button strip */
.brands-cta-row {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap; /* so it doesn't overflow on smaller screens */
}

@media (max-width: 600px) {
  	.brands-cta-row {
    	gap: 12px;
  	}
}

.brands-cta-row .zpimage {
	width: auto;
    max-height: 60px;
}

.brands-cta-row::before,
.brands-cta-row::after {
  content: none !important;
  display: none !important;
}

.our-brand-hero .zpimage-container {
    border-radius: 16px;
}

/* Case studies page */
/* Results cards list 
.cs-results-list > [class*="zpcol-"] {
  max-width: none !important;
  width: auto !important;
  flex: unset !important;
}

.cs-results-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

@media (max-width: 1023px) {
  .cs-results-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .cs-results-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
} */

/* Case Study List - For the new card list that leverages the Box component and listing cards in a flex grid, more scalable, not constrained to zp columns */
.cs-content-card-list .zpelem-col {
  	max-width: none !important;
  	width: auto !important;
  	flex: unset !important;
}

.cs-content-card-list .zpelem-col {
  	display: grid !important;
  	grid-template-columns: repeat(3, 1fr); /* desktop default */
 	gap: 30px;
}

@media (max-width: 1199px) {
  	.cs-content-card-list .zpelem-col {
    	grid-template-columns: repeat(2, 1fr); /* tablet */
    	gap: 24px;
  }
}

@media (max-width: 767px) {
  	.cs-content-card-list .zpelem-col {
    	grid-template-columns: 1fr; /* mobile: stack fully, or keep repeat(2,1fr) if you want 2-col on phone too */
    	gap: 24px;
  	}
}

/* Content card tags and tag row styles */
.tag-row {
  	display: flex;
  	flex-wrap: wrap;
  	gap: 12px;
    padding-left: 24px;
	padding-right: 24px;
}

.featured-cs-tag-row {
  	display: flex;
  	flex-wrap: wrap;
  	gap: 12px;
    padding-top: 15px;
}

.tag {
  	display: inline-flex;
  	align-items: center;
  	padding: 6px 12px;
  	border-radius: 100px;
  	background-color: rgba(0, 114, 206, 0.10);
  	color: #0072CE;
  	font-size: 12px;
  	font-weight: 600;
  	white-space: nowrap;
}

/* CS CTA section CTA Row */
.cs-cta-row {
  	display: flex !important;
  	flex-direction: row;
    justify-content: center;
  	align-items: center;
  	gap: 16px;
  	flex-wrap: wrap; /* so it doesn't overflow on smaller screens */
}

@media (max-width: 767px) {
	.cs-cta-row {
		flex-direction: column;
    	justify-content: center;
    	gap: 24px;
	}
}

/* Forms */
.form-insert .zpiframe-container iframe {
    border-radius: 24px; 
    box-shadow: 0 16px 40px rgba(15, 23, 31, 0.16);
}

@media (max-width: 1123px) {
    .form-insert .zpiframe-container iframe {
    	height: 1080px;
    }
}

/* Footer section */
/* Social buttons border and hover styles */
.zpsocialprofile-wrapper {
  	border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
	width: 48px !important;  
    height: 48px !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 479px) {
    .zpsocialprofile-wrapper {
    	width: 40px !important;  
    	height: 40px !important;
    }
}

.zpsocialprofile-wrapper:hover {
    border-color: rgba(255,255,255,0.6); /* brighter ring on hover */
}