/**
 * Anomalo Redesign — Page Overrides
 * ==================================
 * Active on pages with the "anomalo-redesign" body class.
 * To add a new page, append its ID to the $redesign_page_ids array
 * in anomalo-redesign-loader.php. No CSS changes needed.
 *
 * SFTP Path: /wp-content/themes/anomalo/public/css/anomalo-redesign.css
 * Version: 1.0.0
 */

/* ===== BANNER ===== */
.sitewide-banner {
  background: #0C0621 !important;
}

/* ===== HEADER ===== */
.anomalo-redesign .main-banner .content-container {
  max-width: 1240px;
}

/* ===== SECTION SETTINGS ===== */
.anomalo-redesign .component-wrapper, .anomalo-redesign .content-container {
  max-width: 1240px;
  margin-left: auto!important;
  margin-right: auto!important;
  width:100%;
}
.anomalo-redesign .full-width-container .component-wrapper {
  max-width: 100% !important;
}

/* ===== COLUMN RESETS ===== */
.anomalo-redesign .col-auto,
.anomalo-redesign .col-7,
.anomalo-redesign .col-6,
.anomalo-redesign .col-5 {
  margin: unset;
}
.anomalo-redesign .col-12 {
  max-width: 100% !important;
  margin-left: unset !important;
  margin-right: unset !important;
}

.anomalo-redesign .row:not(.no-collapse){margin:0!important;}

/* ===== H2 ===== */
.anomalo-redesign h2 {
  font-family: 'neue-haas-grotesk-text' !important;
  font-weight: 700 !important;
  font-size: 64px !important;
  line-height: 1.15em !important;
  letter-spacing: 0%;
  margin-bottom:unset!important;
}
.eyebrow-heading-boxes-heading h2{
  margin-bottom:56px!important;
}
.counter-box-heading h2{
  margin-bottom:66px!important;
}

/* ===== H3 ===== */
.anomalo-redesign h3 {
  font-family: 'neue-haas-grotesk-text' !important;
  font-weight: 700 !important;
  font-size: 32px !important;
  line-height: 1.15em !important;
  letter-spacing: 0%;
  margin-bottom:unset!important;
  color: #0c0621;
}

/* Global rule - make all content-components flex */
.anomalo-redesign .content-component {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Reset existing margin-bottoms (gap handles spacing now) */
.anomalo-redesign .content-component > * {
  margin-bottom: 0;
}

/* Footer CTA exception — 36px gap */
#footer-cta .content-component {
  gap: 36px;
}

/* ===== EYEBROW (Pre-heading) ===== */
.eyebrow {
  font-family: "Favorit Mono Std", monospace;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  color: #0C0621;
  padding-bottom:10px;
}

/* Video responsive fix - home-hero only */
.anomalo-redesign .wp-video {
  max-width: 100% !important;
  aspect-ratio: 1416 / 938 !important;
}
.anomalo-redesign .mejs-container {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}
.anomalo-redesign .mejs-overlay,
.anomalo-redesign .mejs-layer,
.anomalo-redesign .mejs-mediaelement {
  width: 100% !important;
  height: 100% !important;
}
.anomalo-redesign .mejs-mediaelement video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* ===== HERO SECTION ===== */
.anomalo-redesign h1 {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 115%;
  letter-spacing: 0;
  color: #0C0621;
}
.anomalo-redesign h1 span {
  font-family: "neue-haas-grotesk-text", sans-serif;
  background: linear-gradient(180deg, #FF6E4D 9.64%, #CC573E 82.53%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.anomalo-redesign .section-copy {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 125%;
  letter-spacing: 0;
  color: #0C0621;
}

/* ===== HERO BUTTON ===== */
.anomalo-redesign a.button {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  color: #FFFFFF;
  background-color: #CC573E;
  border-radius: 8px;
  padding: 14px 39px;
  display: inline-block;
  text-decoration: none;
}
.anomalo-redesign a.button {
  border: none !important;
  transition: none !important;
}
.anomalo-redesign a.button:after {
  display: none!important;
}
.anomalo-redesign a.button:hover {
  background-color: #CC573E !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  border: none !important;
  -webkit-text-fill-color: rgb(255, 255, 255) !important;
}

/* ===== AGENTS SECTION ===== */
#agents-section {
  border-radius: 24px;
  max-width: 1240px;
  margin: 44px auto 73px !important;
}
#agents-section .image-component img {
  border-radius: 0px !important;
}

/* ===== NO-PROMPTS SECTION ===== */
#no-prompts-section h2 {
  font-family: 'neue-haas-grotesk-text';
  font-weight: 700 !important;
  font-size: 32px !important;
  line-height: 1.15em !important;
  letter-spacing: 0% !important;
  color: #0C0621 !important;
}
#no-prompts-section p {
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1.25em !important;
  letter-spacing: 0% !important;
  color: #0C0621 !important;
}
#no-prompts-section .content-component {
  margin: auto !important;
}

/* ==========================================================================
 * MASONRY CARD SECTION — #masonry-card-section
 * ========================================================================== */

/* Parent: switch from flexbox to CSS columns for masonry */
#masonry-card-section .component-wrapper {
  display: block !important;
  columns: 3;
  column-gap: 20px;
}

/* Heading spans all columns */
#masonry-card-section .component-wrapper > .content-component.col-12 {
  column-span: all;
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 20px;
}

/* Cards: masonry items */
#masonry-card-section .component-wrapper > .content-component.col-4 {
  break-inside: avoid;
  display: inline-block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 20px !important;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #FFFFFF, #F3F2F7) !important;
  border: 2px solid #D2D0D7;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  #masonry-card-section .component-wrapper {
    columns: 1;
  }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  #masonry-card-section .component-wrapper {
    columns: 2;
  }
}

/* Card inner layout: 14px gap between elements */
#masonry-card-section .component-wrapper > .content-component.col-4 {
  display: inline-flex !important;
  flex-direction: column;
  gap: 14px;
}

/* Pre-heading (e.g., "Data Engineer") */
#masonry-card-section .content-component.col-4 .card-eyebrow {
  font-family: 'Favorit Mono Std', monospace;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25em;
  letter-spacing: 0;
  color: #CC573E !important;
  margin: 0;
}

/* Heading (e.g., "Full Coverage. Less Manual Effort.") */
#masonry-card-section .content-component.col-4 h3 {
  font-family: 'Neue Haas Grotesk Text Pro', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25em;
  letter-spacing: 0;
  color: #000000 !important;
  margin: 0;
}

/* Body text */
#masonry-card-section .content-component.col-4 p:not(.pre-heading) {
  font-family: 'Neue Haas Grotesk Text Pro', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25em;
  letter-spacing: 0;
  color: #000000 !important;
  margin: 0;
}

/* ==========================================================================
 * #context-cards-section — Full-width header top + heading left + 2-col cards right
 * Add to: public/css/anomalo-redesign.css
 * ========================================================================== */

/* --- Grid container: 3 equal columns --- */
#context-cards-section .component-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-auto-flow: dense !important;
  gap: 14px !important;
  align-items: start !important;
}

/* --- 1st child (col-12): full-width section header, spans all 3 columns --- */
#context-cards-section .component-wrapper > .content-component:first-child {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 0 150px 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

/* --- 2nd child (col-4): "Why it matters" heading + copy — left column, spans all card rows --- */
#context-cards-section .component-wrapper > .content-component:nth-child(2) {
  grid-column: 1 !important;
  grid-row: 2 / span 3 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  margin-right:20px!important;
}

#context-cards-section strong, #atlas-key-benefits p > strong{color:#0c0621!important;}
#context-cards-section .card-eyebrow{padding:10px!important;}

/* --- 2nd child heading text --- */
#context-cards-section .component-wrapper > .content-component:nth-child(2) h2 {
  font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif !important;
  font-weight: 700 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  margin: 0 0 16px 0 !important;
}

#context-cards-section .component-wrapper > .content-component:nth-child(2) p {
  font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 150% !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  margin: 0 !important;
}

/* --- Card items (3rd child onward) — fill columns 2 and 3 --- */
#context-cards-section .component-wrapper > .content-component:nth-child(n+3), #insights-relationship .ehb-card {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 20px !important;
  margin: 0 !important;
  background: linear-gradient(90deg, #FFFFFF, #F3F2F7) !important;
  border: 2px solid #D2D0D7 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* --- Card icon images --- */
#context-cards-section .content-component:nth-child(n+3) img {
  margin-bottom:14px;
  height: auto !important;
}

/* --- Card body text --- */
#context-cards-section .content-component:nth-child(n+3) p:not(.pre-heading) {
  font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif !important;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25em;
  letter-spacing: 0%;
}

/* --- Mobile: stack everything vertically --- */
@media (max-width: 767px) {
  #context-cards-section .component-wrapper {
    grid-template-columns: 1fr !important;
  }
  #context-cards-section .component-wrapper > .content-component:first-child,
  #context-cards-section .component-wrapper > .content-component:nth-child(2) {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* --- Tablet: heading full width, cards 2-col below --- */
@media (min-width: 768px) and (max-width: 1023px) {
  #context-cards-section .component-wrapper {
    grid-template-columns: 1fr 1fr !important;
  }
  #context-cards-section .component-wrapper > .content-component:first-child,
  #context-cards-section .component-wrapper > .content-component:nth-child(2) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

#insights-relationship .ehb-card-icon{
  width:55px!important;
  height:55px!important;
}

/* Atlas Page */
#atlas-key-benefits {
  border-radius: 24px;
  max-width: 1240px;
  margin: 44px auto 73px !important;
  padding:99px 105px 90px 107px;
}

@media (max-width:1025px) {
  #atlas-key-benefits {
    padding:30px;
  }
}
/* --- Wrapper: 3 cards in a row --- */
#atlas-key-benefits .component-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  align-items: flex-start !important;
}

/* --- First child (col-12): full width, no card style --- */
#atlas-key-benefits .component-wrapper > .content-component:first-child {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* --- Card items (3 cards side by side) --- */
#atlas-key-benefits .component-wrapper > .content-component:nth-child(n+2) {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  padding: 20px !important;
  margin: 0 !important;
  background: linear-gradient(90deg, #FFFFFF, #F3F2F7) !important;
  border: 2px solid #D2D0D7 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Atlas page: 3 cards in a row fix */
@media (min-width: 1024px) {
  .page-id-6646 #masonry-card-section .component-wrapper {
    columns: unset !important;
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 20px !important;
    row-gap: 20px !important;
    align-items: flex-start !important;
  }
  .page-id-6646 #masonry-card-section .component-wrapper > .content-component.col-12 {
    flex: 0 0 100% !important;
  }
  .page-id-6646 #masonry-card-section .component-wrapper > .content-component.col-4 {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }
  .page-id-6646 #masonry-card-section .component-wrapper > .content-component.col-4 {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}


#atlas-how-it-works-1 p, #atlas-how-it-works-2 p, #atlas-how-it-works-3 p{
    font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif !important;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.25em;
    letter-spacing: 0%;
}
@media (max-width:1025px){
  #atlas-how-it-works-2 .col-6:not(:last-child){margin-bottom: unset!}
  #atlas-how-it-works-1 .image-component, #atlas-how-it-works-2 .image-component, #atlas-how-it-works-3 .image-component{margin-bottom:24px!important;}

}

@media (max-width: 767px) {
  #atlas-key-benefits .component-wrapper > .content-component:nth-child(n+2) {
    flex: 0 0 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #atlas-key-benefits .component-wrapper > .content-component:nth-child(n+2) {
    flex: 0 0 calc(50% - 12px) !important;
  }
}


/* ==========================================================================
 * #accordion-section — FAQ Accordion Override
 * Converts card-style accordion to Figma design (top-border-only, flat list)
 * Add to: public/css/anomalo-redesign.css
 * ========================================================================== */

/* --- Remove card borders, apply top-border-only --- */
#accordion-section .accordion-item {
  border: none !important;
  border-top: 1px solid #D2D0D7 !important;
  border-radius: 0 !important;
  padding: 24px  30.6px !important;
  margin-bottom: 0 !important;
  background: transparent !important;
}

#accordion-section .accordion-item.active{
  box-shadow: unset!important;
}

/* --- Last item gets a bottom border too --- */
#accordion-section .accordion-item:last-child {
  border-bottom: 1px solid #D2D0D7 !important;
}

/* --- Header row: flex layout, vertical padding --- */
#accordion-section .accordion-item-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0px!important;
  cursor: pointer !important;
  gap: 53px !important;
}

#accordion-section .accordion-item.active .accordion-item-header{
  padding-bottom: 24px!important;
}

/* --- Question text --- */
#accordion-section .accordion-item-header p {
  font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif !important;
  font-weight: 400 !important;
  font-size: 24px !important;
  line-height: 1.15em !important;
  letter-spacing: 0 !important;
  color: #0C0621 !important;
  margin: 0 !important;
  flex: 1 !important;
  -webkit-text-fill-color: #0C0621 !important;
}

/* --- Chevron icon (::after pseudo) — navy color --- */
#accordion-section .accordion-item-header::after {
  background-color: #0C0621 !important;
  width: 21px !important;
  height: 21px !important;
  flex-shrink: 0 !important;
}

/* --- Answer body padding --- */
#accordion-section .accordion-item-body {
  padding: 0 0 24px 0 !important;
}

/* --- Answer text --- */
#accordion-section .accordion-item-body p {
  font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1.3em !important;
  letter-spacing: 0 !important;
  color: #0C0621 !important;
  margin: 0 !important;
  -webkit-text-fill-color: #0C0621 !important;
}

/* --- Section heading (left column) --- */
#accordion-section .content-component h2 {
  font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif !important;
  font-weight: 700 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* ===== TESTIMONIAL SECTION ===== */
#testimonial-section {
  background-color: #F3F2F7;
}
#testimonial-section .slider-component.slider-type-content-full-width {
  max-width: 1030px;
  margin: 0 auto;
  padding: 10px;
}
#testimonial-section .swiper-inner-container {
  background: #F3F2F7 !important;
  background-image: none !important;
  border-radius: 4px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}
#testimonial-section .swiper-inner-container > svg {
  display: none !important;
}
#testimonial-section .content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#testimonial-section .content::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background-image: url('../svg/quote-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 48px;
}
#testimonial-section .content p {
  font-family: 'Neue Haas Grotesk Text Pro', 'neue-haas-grotesk-text', sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15em;
  letter-spacing: 0;
  color: #0C0621;
  text-align: center;
  margin: 0;
  padding: 0;
}
#testimonial-section .content style {
  display: none !important;
}
#testimonial-section .details {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#testimonial-section .testimonial-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
#testimonial-section .testimonial-details img.logo {
  width: 120px;
  height: 80px;
  min-height: 80px;
  border-radius: 0;
  object-fit: contain;
  object-position: right center;
  background: none;
  background-color: transparent;
  flex-shrink: 0;
  order: -1;
  display: block;
}
#testimonial-section .testimonial-details .fw-bold {
  font-family: 'Favorit Mono Std', monospace;
  font-weight: 400;
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0;
  color: #0C0621;
  display: inline;
}
#testimonial-section .testimonial-details .fw-bold::after {
  content: ', ';
}
#testimonial-section .testimonial-details > div:not(.link-details) {
  font-family: 'Favorit Mono Std', monospace;
  font-weight: 400;
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0;
  color: #0C0621;
  display: inline;
}
#testimonial-section .link-details {
  display: none;
}
#testimonial-section .slider-arrows {
  display: none;
}
#testimonial-section .fw-bold {
  margin-right: -12px;
}
#testimonial-section .logo {
  margin-top: 0px;
}
#testimonial-section .slider-component {
  padding: 0px !important;
}
/* Force single slide on testimonial swiper at tablet breakpoint */
#testimonial-section .swiper-slide {
  width: 100% !important;
}
/* ===== SECURITY SECTION ===== */
#security-section .eyebrow-heading-boxes-cards {
  gap: 22px !important;
  margin-bottom: 22px !important;
}
#security-section .ehb-card {
  padding: 36px !important;
  border: 1px solid #D2D0D7 !important;
  background: linear-gradient(118.45deg, rgba(255, 255, 255, 0.5) 5.06%, rgba(243, 242, 247, 0.5) 86.26%) !important;
  gap: 12px !important;
}
#security-section .ehb-card-header {
  display: block;
  margin-bottom: 12px;
}
#security-section .ehb-card-icon {
  width: 100%;
  height: 50px;
  margin-bottom: 12px;
}
#security-section .ehb-card-icon img {
  width: 50px;
  height: 50px;
}

/* ===== CUSTOMER STORIES ===== */
#customer-stories .content-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
#customer-stories .row:not(.no-collapse) {
  margin: 0px !important;
}
#customer-stories h2 {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}
#customer-stories .component-wrapper {
  justify-content: center;
}

/* ===== FOOTER CTA ===== */
#footer-cta {
  background: linear-gradient(118.45deg, rgba(255, 255, 255, 0.75) 5.06%, rgba(243, 242, 247, 0.75) 86.26%);
  border: 1px solid #D2D0D7;
  max-width: 1240px;
  margin: 58px auto 106px !important;
  border-radius: 12px;
  padding:93px 79px;
}

/* ===== CTA BUTTONS (shared) ===== */
.cta-buttons {
  display: flex;
  gap: 18px;
}
.cta-buttons a,
.nav-cta a,
.footer a.button, a.button, a.button, .button, .button-download, .hbspt-form .hs_submit input[type="submit"] {
  font-family: "neue-haas-grotesk-text", sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 100% !important;
  letter-spacing: 0 !important;
  color: #FFFFFF !important;
  background-color: #CC573E !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  display: inline-block !important;
  text-decoration: none !important;
  border: none !important;
  transition: none !important;
}
.cta-buttons a.button:after {
  display: none;
}

.hs-button.primary.large{
  background: none!important;
}
/* Hide counter number when both start and end are 0 (text-only counter) */
.counter-number[data-start="0"][data-end="0"] {
  display: none;
}
/* RESPONSIVE (max-width: 1240px) */
@media (max-width:1240px){
  /* ===== SECTION SETTINGS ===== */
  .anomalo-redesign .content-container {
    margin-left: 20px!important;
    margin-right: 20px!important;
  }
  #slider-eyebrow{
    margin-left:20px!important;
  }
}
/* ===== RESPONSIVE (max-width: 768px) ===== */
@media (max-width: 768px) {
.anomalo-redesign h1 {
  font-size: 48px !important;
}
.anomalo-redesign h2 {
  font-size: 36px !important;
  margin-bottom:unset!important;
}
  #testimonial-section .content p {
    font-size: 32px;
  }
  .counter-box-component h2, .eyebrow-heading-boxes-heading h2{
    margin-bottom:24px!important;
  }
  #security-section .section-copy{
    margin-top:24px!important;
  }
  #footer-cta{
    padding-left: unset!important;
    padding-right: unsset!important;
  }
  #footer-cta .section-copy{margin-top:0px!important;}
  #testimonial-section .slider-component.slider-type-content-full-width {
    max-width: 100%;
    padding: 10px 16px;
  }
  #testimonial-section .swiper-inner-container {
    gap: 32px;
  }
  #testimonial-section .testimonial-details {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  #testimonial-section .testimonial-details img.logo {
    order: 0;
  }
  #no-prompts-section .image-component,
  #agents-section .image-component {
    margin-bottom: 30px;
  }
  #customer-stories .card-slider-header,
  #customer-stories .slider-component {
    padding-left: 20px;
    padding-right: 20px;
  }
  #footer-cta {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  .cta-buttons a {
    font-size: 16px;
  }
}
/* ==========================================================================
 * GLOBAL COLOR OVERRIDES — Purple/Orange → New Brand Colors
 * ==========================================================================
 * Audit items #1–#52 + visual inspection fixes
 * Scoped to body.anomalo-redesign
 *
 * Brand Colors:
 *   #0C0621  — Dark navy (backgrounds)
 *   #CC573E  — New button red (primary action)
 *   #F3F2F7  — Light gray (section backgrounds)
 *   #FF6E4D  — Stroke orange (borders, accents)
 *
 * Old Colors Being Replaced:
 *   #7252FB  — Purple
 *   #FE8065  — Orange
 *   #4E29ED  — Dark purple (dot patterns)
 *   rgba(114,82,251,*)  — Purple variants
 *
 * CHANGELOG v5:
 *   - FIXED: a.button missing !important — theme CSS was winning cascade
 *   - FIXED: Slide gradient is on .swiper-slide::before NOT .swiper-inner-container
 *   - FIXED: Removed accordion chevron filter (SVG is already neutral gray natively)
 *   - FIXED: Removed [class*="card"] broad selector (was adding shadow everywhere)
 *   - FIXED: Button hover — outline button stays outline on hover
 *   - FIXED: Slider arrows — target both .slider-arrows AND .swiper-button-* selectors
 *   - ADDED: .quote-accent SVG fill override (inline purple quote marks)
 *   - ADDED: .video-play-button SVG circle fill override
 *   - ADDED: .text-button::after arrow SVG color (mask-image technique)
 *   - ADDED: Dot pattern SVGs (fill="#4E29ED") — .section-accent, .video-accent
 *   - ADDED: .post-feed-cta gradient bg + subscribe .gform_button override
 *   - ADDED: Footer link hover color
 *   v5 additions:
 *   - FIXED: .cards-component::after gradient line (purple→orange) → solid #FF6E4D
 *   - FIXED: .accordion-item-header::after chevron SVG fill="#7252FB" → mask-image #0C0621
 *   - FIXED: .accordion-item.active box-shadow purple tint → neutral
 * ========================================================================== */


/* ------------------------------------------------------------------
 * A. BUTTONS — Audit #1–#7
 * ------------------------------------------------------------------ */

/* #1 — ALL purple buttons (default) — existing CSS lacks !important, theme wins */
a.button,
.button,
.button-download,
.hbspt-form .hs_submit input[type="submit"] {
  background-color: #CC573E !important;
  border-color: #CC573E !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* #2 — ALL purple buttons :hover */
a.button:hover,
.button:hover,
.button-download:hover,
.hbspt-form .hs_submit input[type="submit"]:hover,
header .nav-primary .nav-cta a:hover, .mega-menu .mega-menu-content-component a:hover {
  background-color: #FFFFFF !important;
  color: #CC573E !important;
  -webkit-text-fill-color: #CC573E !important;
  box-shadow: 0 0 0 2px #CC573E !important;
}
/* #2b — Button ::after pseudo (theme adds arrow pseudo) */
a.button::after,
.button::after {
  display: none !important;
}

/* #3 — Purple border/outline button — FIXED: hover stays outline style */
.button-purple-border-transparent {
  color: #CC573E !important;
  border-color: #CC573E !important;
  background-color: transparent !important;
}
.button-purple-border-transparent:hover {
  color: #CC573E !important;
  border-color: #CC573E !important;
  background-color: transparent !important;
  opacity: 0.8;
}

/* #4–#5 — Orange button (.button-orange) — nav CTA already covered in main CSS */
.button-orange {
  background-color: #CC573E !important;
  border-color: #CC573E !important;
}
.button-orange:hover {
  border-color: #CC573E !important;
}

/* #6–#7 — Text button / link-style button */
.text-button,
.text-button-download {
  color: #CC573E !important;
}
.text-button:hover,
.text-button-download:hover {
  border-bottom-color: #CC573E !important;
}

/* #6b — Text button arrow (::after) — purple SVG → red via mask-image */
.text-button::after,
.text-button-download::after {
  background-image: none !important;
  background-color: #CC573E !important;
  -webkit-mask-image: url('../svg/button-arrow-purple.006e94.svg');
  mask-image: url('../svg/button-arrow-purple.006e94.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}


/* ------------------------------------------------------------------
 * B. GRADIENT BACKGROUNDS — Audit #8–#9
 * ------------------------------------------------------------------ */

/* #8 — Gradient BG orange→purple → flat light gray */
.bg-gradient-orange {
  background: #F3F2F7 !important;
}
.bg-gradient-orange,
.bg-gradient-orange h1,
.bg-gradient-orange h2,
.bg-gradient-orange h3,
.bg-gradient-orange p {
  color: #0C0621 !important;
  -webkit-text-fill-color: #0C0621 !important;
}

/* #9 — Gradient BG purple→orange → dark navy */
.bg-gradient-purple {
  background: #0C0621 !important;
}
.bg-gradient-purple,
.bg-gradient-purple h1,
.bg-gradient-purple h2,
.bg-gradient-purple h3,
.bg-gradient-purple p {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}


/* ------------------------------------------------------------------
 * C. GRADIENT / FILLED TEXT — Audit #10–#12
 * ------------------------------------------------------------------ */

/* #10 — Large heading gradient text → solid color */
.h1-large-gradient {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #CC573E !important;
  color: #CC573E !important;
}

/* #11 — Tabbed section gradient border card shadow */
.tabbed-section-component .border-gradient {
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08) !important;
}

/* #12 — Tabbed section gradient border ::after → solid stroke orange */
.tabbed-section-component .border-gradient::after {
  background: #FF6E4D !important;
}

/* #12b — Cards component gradient line (::after) — purple→orange → stroke orange */
.cards-component::after {
  background: #FF6E4D !important;
  background-image: none !important;
}


/* ------------------------------------------------------------------
 * D. PURPLE BACKGROUND SECTIONS — Audit #13
 * ------------------------------------------------------------------ */

/* #13 — Purple tinted background → neutral light gray */
.bg-purple {
  background-color: #F3F2F7 !important;
}


/* ------------------------------------------------------------------
 * E. EYEBROWS / PRE-HEADINGS — Audit #14–#15
 * ------------------------------------------------------------------ */

/* #14–#15 — Eyebrow gradient text → solid color */
.overline,
.pre-heading {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #CC573E !important;
  color: #CC573E !important;
}


/* ------------------------------------------------------------------
 * F. LINKS — Audit #16–#18
 * ------------------------------------------------------------------ */

/* #16–#18 — Global link color, hover, active */
a {
  color: #CC573E;
}
a:hover {
  color: #CC573E;
}
a:active {
  color: #CC573E;
}


/* ------------------------------------------------------------------
 * G. GRADIENT BORDERS / STROKES — Audit #19–#20
 * ------------------------------------------------------------------ */

/* #19 — Left border gradient → solid stroke orange */
.border-left::before,
.event-speakers .single-speaker::before {
  background: #FF6E4D !important;
}

/* #20 — Right border gradient → solid stroke orange */
.border-right::before {
  background: #FF6E4D !important;
}


/* ------------------------------------------------------------------
 * H. MEGA MENU — Audit #21–#24
 * ------------------------------------------------------------------ */

/* #21 — Mega menu purple link item bg */
[data-mega-menu] a.col-6:last-child {
  background-color: transparent !important;
}

/* #22 — Mega menu purple item hover */
[data-mega-menu] a:hover {
  background-color: #F3F2F7 !important;
}

/* #23 — Mega menu text-button links */
.mega-menu .mega-menu-link-banner a {
  color: #CC573E !important;
}

/* #24 — Mega menu purple highlight (all inner purple links) */
.mega-menu a:not(.button) {
  color: #0C0621 !important;
}
.mega-menu a:hover {
  color: #CC573E !important;
}


/* ------------------------------------------------------------------
 * I. SITEWIDE BANNER — Audit #25–#26
 * #25 already covered in main CSS (.anomalo-redesign .sitewide-banner)
 * ------------------------------------------------------------------ */

/* #26 — Banner link color → white on new bg */
.sitewide-banner a {
  color: #FFFFFF !important;
}


/* ------------------------------------------------------------------
 * J. FAQ / ACCORDION — Audit #27–#28
 * ------------------------------------------------------------------ */

/* #27 — FAQ active item border */
.accordion-item.active {
  border-color: #D2D0D7 !important;
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08) !important;
}

/* #28 — FAQ eyebrow text (inherits from #14 .pre-heading rule) */

/* #27b — Accordion chevron: SVG (chevron-down-light.svg) has fill="#7252FB" purple.
 * Since it's a background-image, use mask-image technique to recolor. */
.accordion-item-header::after {
  background-image: none !important;
  background-color: #CC573E !important;
  -webkit-mask-image: url('../svg/chevron-down-light.e2da7a.svg');
  mask-image: url('../svg/chevron-down-light.e2da7a.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}


/* ------------------------------------------------------------------
 * K. TESTIMONIALS / CAROUSEL — Audit #29–#31
 * ------------------------------------------------------------------ */

/* #29 — Testimonial slide gradient — actually on .swiper-slide::before, NOT .swiper-inner-container */
.slider-component.slider-type-content .swiper-slide::before {
  background-image: none !important;
  background: transparent !important;
}

/* #29-FIX — Slide text was white (for dark gradient bg). Now bg is light, text must be dark. */
.slider-component.slider-type-content .swiper-slide .content,
.slider-component.slider-type-content .swiper-slide .content p,
.slider-component.slider-type-content .swiper-slide .details,
.slider-component.slider-type-content .swiper-slide .testimonial-details,
.slider-component.slider-type-content .swiper-slide .testimonial-details .fw-bold,
.slider-component.slider-type-content .swiper-slide .testimonial-details > div {
  color: #0C0621 !important;
  -webkit-text-fill-color: #0C0621 !important;
}

/* #29b — Also override .swiper-inner-container if it has gradient directly */
.swiper-inner-container {
  background: #F3F2F7 !important;
  background-image: none !important;
}

/* Dot pattern SVGs inside swiper — show them in orange instead of hiding */
.swiper-inner-container > svg {
  display: block !important;
}
.swiper-inner-container > svg path {
  fill: #FF6E4D !important;
}

/* #30 — Testimonial quote icon SVG (inline fill="#7252FB") */
.quote-accent svg path {
  fill: #CC573E !important;
}

/* #30b — Testimonial quote mark pseudo-element */
.new_testimonial::before,
blockquote::before {
  color: #CC573E !important;
}

/* #31 — Carousel/slider arrows SVG gradient → solid fill */
.slider-arrows svg stop,
.swiper-button-prev svg stop,
.swiper-button-next svg stop {
  stop-color: #CC573E !important;
}


/* ------------------------------------------------------------------
 * L. RESOURCE CARDS — Audit #32–#33
 * ------------------------------------------------------------------ */

/* #32 — Resource card tag text */
.resource-card-overline {
  color: #CC573E !important;
}

/* #33 — Resource card "Read More" link — inherits from #16 (a rule) */


/* ------------------------------------------------------------------
 * M. FORM INPUTS — Audit #34–#38
 * ------------------------------------------------------------------ */

/* #34 — Input selection highlight */
[type="email"]::selection,
[type="text"]::selection,
textarea::selection {
  background-color: rgba(204, 87, 62, 0.25) !important;
}

/* #35 — Input focus border */
[type="email"]:focus,
[type="text"]:focus,
textarea:focus {
  border-color: #CC573E !important;
  outline-color: #CC573E !important;
}

/* #36 — Gravity Forms checkbox checked */
.gfield_checkbox input:checked ~ label::before {
  background-color: #CC573E !important;
}

/* #37 — Gravity Forms checkbox border */
.gfield_checkbox .gchoice::before {
  border-color: #CC573E !important;
}

/* #38 — Gravity Forms spinner */
.gform_ajax_spinner {
  border-color: #CC573E !important;
}

/* #38b — Gravity Forms submit button (blog subscribe etc.) */
.gform_button.button,
.gform_wrapper .gform_button {
  background-color: #CC573E !important;
  border-color: #CC573E !important;
  color: #FFFFFF !important;
}
.gform_button.button:hover,
.gform_wrapper .gform_button:hover {
  background-color: #FFFFFF !important;
  color: #CC573E !important;
  box-shadow: 0 0 0 2px #CC573E !important;
}


/* ------------------------------------------------------------------
 * N. HEADER NAVIGATION — Audit #39–#40
 * ------------------------------------------------------------------ */

/* #39 — Primary nav link hover */
header .nav-primary a:hover {
  color: #CC573E !important;
}

/* #40 — Nav active/current item */
header .nav-primary .current-menu-item a {
  color: #CC573E !important;
}
header .nav-primary .nav-cta a:hover {
  color: #ffffff !important;
}

/* ------------------------------------------------------------------
 * O. FEED / PAGINATION — Audit #41–#44
 * ------------------------------------------------------------------ */

/* #41 — Pagination active/hover text */
.feed-pagination .pagination-page.current,
.feed-pagination .pagination-page:hover {
  color: #CC573E !important;
}

/* #42 — Pagination active underline */
.feed-pagination .pagination-page.current::after {
  background-color: #CC573E !important;
}

/* #43 — Post feed CTA gradient banner → dark navy */
.post-feed-cta {
  background: #0C0621 !important;
  background-image: none !important;
}

/* #44 — Team title underline */
.team-feed-component .team-title::after {
  background-color: #CC573E !important;
}


/* ------------------------------------------------------------------
 * P. SLICK DOTS — Audit #45–#46
 * ------------------------------------------------------------------ */

/* #45 — Slick dot default */
.slick-dots li {
  background-color: rgba(204, 87, 62, 0.3) !important;
}

/* #46 — Slick dot active */
.slick-dots li.slick-active {
  background-color: #CC573E !important;
}


/* ------------------------------------------------------------------
 * Q. MODAL — Audit #47
 * ------------------------------------------------------------------ */

/* #47 — Modal inner gradient → flat bg */
.modal .modal-inner {
  background: #F3F2F7 !important;
}


/* ------------------------------------------------------------------
 * R. CARD SHADOWS — Audit #48–#49
 * FIXED: Removed [class*="card"] — was too broad, added shadows everywhere
 * Only target elements that ALREADY have purple-tinted shadows in theme CSS
 * ------------------------------------------------------------------ */

/* #48 — Card shadow default — purple tint → neutral */
.ehb-card,
.resource-card,
.integration-card,
.tabbed-section-component .border-gradient {
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08) !important;
}

/* #49 — Card shadow hover — purple tint → neutral */
.ehb-card:hover,
.resource-card:hover,
.integration-card:hover,
.tabbed-section-component .border-gradient:hover {
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.12) !important;
}


/* ------------------------------------------------------------------
 * S. MISCELLANEOUS — Audit #50–#52
 * ------------------------------------------------------------------ */

/* #50 — Privacy policy list markers */
.priv-list-2-2::before,
.priv-list-3::before {
  background-color: #CC573E !important;
}

/* #51 — Select element background */
select {
  background-color: #FFFFFF !important;
  border-color: #D2D0D7 !important;
}
select:focus {
  border-color: #CC573E !important;
}

/* #52 — Content component purple text
 * FIXED v4: Exclude button classes — same specificity + later position was overriding button text color */
.content-component a:not(.button):not(.text-button):not(.text-button-download):not(.button-download):not(.button-orange):not(.button-purple-border-transparent),
.content-component strong {
  color: #CC573E !important;
}


/* ------------------------------------------------------------------
 * T. INLINE SVG PURPLE FILLS — Visual inspection additions
 * Elements with inline fill="#7252FB" or fill="#4E29ED"
 * ------------------------------------------------------------------ */

/* T1 — Video play button circle */
.video-play-button svg circle[fill="#7252FB"] {
  fill: #CC573E !important;
}

/* T2 — Decorative dot pattern SVGs (fill="#4E29ED" dark purple) */
.section-accent svg path,
.video-accent svg path {
  fill: #FF6E4D !important;
}

/* T3 — Dot pattern inside swiper slides (in case they're visible) */
.swiper-slide svg path[fill="#4E29ED"],
.swiper-slide svg path[fill="#4e29ed"] {
  fill: #FF6E4D !important;
}

/* T4 — Dot pattern inside post-feed-cta (blog subscribe banner) */
.post-feed-cta svg path {
  fill: #FF6E4D !important;
}


/* ------------------------------------------------------------------
 * U. FOOTER — Visual inspection additions
 * ------------------------------------------------------------------ */

/* U1 — Footer link hover (was purple in theme CSS) */
footer a:hover,
.footer a:hover {
  color: #CC573E !important;
}

/* U2 — Footer bottom bar links (Subscription, Privacy Policy, etc.) */
.footer-bottom a,
.footer-bottom a:hover {
  color: #CC573E !important;
}

/* U3 — Footer gradient line (hr or border) */
footer hr,
.footer-bottom-bar::before {
  background: linear-gradient(90deg, #FF6E4D, #CC573E) !important;
  border-color: #FF6E4D !important;
}
/* FIX: slider-type-content-full-width text white → dark */
.slider-component.slider-type-content-full-width {
  color: #0C0621 !important;
}
.slider-component.slider-type-content-full-width .swiper-slide .content,
.slider-component.slider-type-content-full-width .swiper-slide .content p,
.slider-component.slider-type-content-full-width .swiper-slide .details,
.slider-component.slider-type-content-full-width .swiper-slide .testimonial-details,
.slider-component.slider-type-content-full-width .swiper-slide .testimonial-details .fw-bold,
.slider-component.slider-type-content-full-width .swiper-slide .testimonial-details > div {
  color: #0C0621 !important;
  -webkit-text-fill-color: #0C0621 !important;
}

.post-feed-cta h3{color:#ffffff!important;}
.featured-posts .featured-post .featured-post-content .featured-post-cta, .featured-posts .featured-post .featured-post-content .featured-post-pre-title{color:#ffffff!important;}
.featured-posts .featured-post .featured-post-content .featured-post-cta:after{background-color: #ffffff!important;}
.post-card .post-details .post-card-pre-title,
.post-card .post-details .post-card-author span,
.post-card .post-details .post-card-date span,
.post-feed-component .pagination-wrapper .next-arrow.current,
.post-feed-component .pagination-wrapper .next-arrow:hover,
.post-feed-component .pagination-wrapper .pagination-page.current,
.post-feed-component .pagination-wrapper .pagination-page:hover,
.post-feed-component .pagination-wrapper .prev-arrow.current,
.post-feed-component .pagination-wrapper .prev-arrow:hover,
.h1-display span,
.cards-component.post_cards .category
{color:#CC573E !important;}

.post-feed-component .pagination-wrapper .next-arrow.current:after,
.post-feed-component .pagination-wrapper .pagination-page.current:after,
.post-feed-component .pagination-wrapper .prev-arrow.current:after,
header.header .nav-primary .current-menu-item:after,
.mega-menu .mega-menu-link-banner:after
{background-color:#CC573E !important;}
.mega-menu{border-color:#CC573E !important;}
.modal .modal-inner{
  color: #0C0621 !important;
}

.mobile-menu a:hover{color:#CC573E!important;}

/* ===== UNIVERSAL VIDEO FIX ===== */

/* Video responsive — constrain to parent */
body.anomalo-redesign .wp-video {
  max-width: 100% !important;
  aspect-ratio: 1416 / 938 !important;
  overflow: hidden !important;
}

/* Direct parent of video */
body.anomalo-redesign div:has(> .wp-video) {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Grandparent — no !important to preserve inline max-width */
body.anomalo-redesign div:has(> div > .wp-video) {
  max-width: 100%;
  overflow: hidden !important;
}

/* mejs player elements fill container */
body.anomalo-redesign .mejs-container {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}
body.anomalo-redesign .mejs-overlay,
body.anomalo-redesign .mejs-layer,
body.anomalo-redesign .mejs-mediaelement {
  width: 100% !important;
  height: 100% !important;
}
body.anomalo-redesign .mejs-mediaelement video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: scaleX(1.008) !important;
  transform-origin: left center !important;
}

/* Hide controls on autoplay videos */
.mejs-container:has(video[autoplay]) .mejs-controls {
  display: none !important;
}
/* Fix video height cutoff in ehb cards */
body.anomalo-redesign .eyebrow-heading-boxes-cards.ehb-single-card:has(.wp-video) {
  height: auto !important;
}

/* Video right edge line fix for non-redesign pages (for request a demo page) */
.page-id-1269 .wp-video {
  overflow: hidden !important;
}
.page-id-1269 .mejs-mediaelement video {
  transform: scaleX(1.008) !important;
  transform-origin: left center !important;
}

.featured-case-study .content-container {
    border-radius: 24px;
    border: 1px solid #D2D0D7;
    background: linear-gradient(118.45deg, rgba(255, 255, 255, 0.75) 5.06%, rgba(243, 242, 247, 0.75) 86.26%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow:hidden;
    padding:33px 44px 33px 33px;
}

.featured-case-study .content-component h3 {
  font-family: 'neue-haas-grotesk-text' !important;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15em;
  color:#0C0621;
}


.featured-case-study .content-component p {
  font-family: 'neue-haas-grotesk-text' !important;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25em;
  color:#0C0621;
}



.featured-case-study .content-component > * {
    margin: 0;
    padding: 0;
    margin-bottom: 24px;
}

.featured-case-study .content-component > *:last-child {
    margin-bottom: 0;
}

/* ========================================
   CASE STUDY GRID FEED BLOCK — Figma redesign
   Targets the new Case Study Grid Feed block
   Uses .case-study-grid  ID for specificity > theme !important
   (replaces the old .case-study-grid #case-study-feed rules)
   ======================================== */

/* Grid container: 3-col flex layout overriding theme .card-col-N */
.case-study-grid .post-feed-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.case-study-grid .post-feed-wrapper > .case-study-grid__item,
.case-study-grid .post-feed-wrapper > .card-wrapper {
    flex: 0 0 calc((100% - 48px) / 3) !important;
    max-width: calc((100% - 48px) / 3) !important;
    width: calc((100% - 48px) / 3) !important;
    min-width: 0 !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ---------- Card ---------- */
.case-study-grid  .case-study-post-card,
.case-study-grid  .case-study-post-card.border-left {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 20px !important;
    border: 2px solid #D2D0D7 !important;
    border-left: 2px solid #D2D0D7 !important;
    border-top: 2px solid #D2D0D7 !important;
    border-right: 2px solid #D2D0D7 !important;
    border-bottom: 2px solid #D2D0D7 !important;
    border-radius: 8px !important;
    background: linear-gradient(118.45deg, rgba(255, 255, 255, 0.75) 5.06%, rgba(243, 242, 247, 0.75) 86.26%) !important;
    background-image: linear-gradient(118.45deg, rgba(255, 255, 255, 0.75) 5.06%, rgba(243, 242, 247, 0.75) 86.26%) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Kill any pseudo-element accent bar */
.case-study-grid  .case-study-post-card::before,
.case-study-grid  .case-study-post-card::after,
.case-study-grid  .case-study-post-card.border-left::before,
.case-study-grid  .case-study-post-card.border-left::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Post-details: stretch full height, push Read More to bottom */
.case-study-grid  .case-study-post-card .post-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.case-study-grid  .case-study-post-card .post-details > * {
    margin: 0 !important;
    padding: 0 !important;
}

/* Post-info: logo + title group */
.case-study-grid  .case-study-post-card .post-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo / featured image */
.case-study-grid  .case-study-post-card .post-info img {
    display: block !important;
    width: 100% !important;
    height: 200px !important;
    object-fit: contain !important;
    object-position: left center !important;
    background: #FFFFFF !important;
    padding: 20px !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Title */
.case-study-grid  .case-study-post-card .post-info h4 {
    font-family: 'Neue Haas Grotesk Text Pro', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    color: #000000 !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Excerpt */
.case-study-grid  .case-study-post-card .excerpt {
    font-family: 'Neue Haas Grotesk Text Pro', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Read More wrapper: anchor to bottom */
.case-study-grid  .case-study-post-card .post-details > div:last-child {
    margin-top: auto !important;
    padding-top: 14px !important;
}

/* Read More link */
.case-study-grid  .case-study-post-card .text-button {
    font-family: 'Neue Haas Grotesk Text Pro', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    color: #CC573E !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.case-study-grid  .case-study-post-card .text-button::after {
    content: "\2192" !important;
    display: inline-block !important;
    transition: transform 0.2s ease;
}

.case-study-grid  .case-study-post-card .text-button:hover {
    text-decoration: underline !important;
}

.case-study-grid  .case-study-post-card .text-button:hover::after {
    right: 0!important;
}

/* Pagination spacing (kept visible; hide via block toggle if unwanted) */
.case-study-grid-feed-component .pagination-wrapper {
    margin-top: 32px !important;
}
/* Eyebrow */
.case-study-grid .case-study-post-card .case-study-eyebrow {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.case-study-grid .case-study-post-card .case-study-eyebrow .eyebrow-item {
    font-family: 'Favorit Mono Std', 'SFMono-Regular', Menlo, Consolas, monospace !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.25em !important;
    letter-spacing: 0 !important;
    color: #CC573E !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Featured image — force uniform aspect ratio, crop overflow */
.case-study-grid .case-study-post-card .cs-card-media {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.case-study-grid .case-study-post-card .cs-card-media .cs-card-featured {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Hover state — only shadow, no content shift */
.case-study-grid .case-study-post-card {
    transition: box-shadow 0.25s ease !important;
}

.case-study-grid .case-study-post-card:hover {
    box-shadow: 0 0 16px 0 #C2C0C9 !important;
}

/* ---------- Tablet: still 3 columns but tighter ---------- */
@media (max-width: 1024px) {
    .case-study-grid .post-feed-wrapper {
        gap: 16px !important;
    }
    .case-study-grid .post-feed-wrapper > .case-study-grid__item,
    .case-study-grid .post-feed-wrapper > .card-wrapper {
        flex: 0 0 calc((100% - 32px) / 3) !important;
        max-width: calc((100% - 32px) / 3) !important;
        width: calc((100% - 32px) / 3) !important;
    }
    .case-study-grid  .case-study-post-card,
    .case-study-grid  .case-study-post-card.border-left {
        padding: 16px !important;
    }
    .case-study-grid  .case-study-post-card .post-info h4 {
        font-size: 22px !important;
    }
    .case-study-grid  .case-study-post-card .excerpt,
    .case-study-grid  .case-study-post-card .text-button {
        font-size: 16px !important;
    }
    .case-study-grid  .case-study-post-card .post-info img {
        height: 160px !important;
        padding: 16px !important;
    }
}

/* ---------- Mobile: single column ---------- */
@media (max-width: 768px) {
    .case-study-grid .post-feed-wrapper {
        gap: 20px !important;
    }
    .case-study-grid .post-feed-wrapper > .case-study-grid__item,
    .case-study-grid .post-feed-wrapper > .card-wrapper {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .case-study-grid  .case-study-post-card,
    .case-study-grid  .case-study-post-card.border-left {
        padding: 20px !important;
    }
    .case-study-grid  .case-study-post-card .post-info h4 {
        font-size: 24px !important;
    }
    .case-study-grid  .case-study-post-card .post-info img {
        height: 180px !important;
    }
}


/* ===== CASE STUDY GRID FILTER BAR ===== */
.case-study-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 32px;
}
.cs-filter-btn {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: "Favorit Mono Std", monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.25;
    color: #CC573E;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-underline-offset: 2px;
    text-transform: none;
}
.cs-filter-btn:hover,
.cs-filter-btn:focus {
    color: #CC573E;
    opacity: 0.75;
    outline: none;
}
.cs-filter-btn.is-active {
    color: #CC573E;
    opacity: 1;
    font-weight: 700;
}

.case-study-grid .post-feed-wrapper > .case-study-grid__item.cs-hidden,
.case-study-grid .post-feed-wrapper > .card-wrapper.cs-hidden,
.case-study-post-card.cs-hidden {
    display: none !important;
}

a.case-study-post-card,
a.case-study-post-card:hover,
a.case-study-post-card:focus,
a.case-study-post-card:visited {
    color: inherit !important;
    text-decoration: none !important;
    display: block;
}
