/* =========================================================
   MASON TECHNOLOGY — COMPLETE TESTIMONIALS PAGE CSS (3-COL)
   ========================================================= */

/* 1. Hide default theme breadcrumb header & remove top gap */
body.page-id-10732 .inner-header {
  display: none !important;
}
body.page-id-10732 section.content-text {
  padding-top: 0 !important;
}

#wpb-content-root {
  font-family: inherit;
  color: #1e293b;
}

/* 2. Full-Bleed Unified Hero Section (.mt-hero-row) */
.mt-hero-row {
  background: radial-gradient(circle at 85% 20%, rgba(1, 172, 232, 0.22) 0%, transparent 45%),
              linear-gradient(135deg, #002850 0%, #003a70 60%, #004c8c 100%) !important;
  padding: 0 0 64px 0 !important;
  margin-bottom: 40px !important;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #01ace8;
}
.mt-hero-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Full-width #134076 Breadcrumb Bar inside Hero */
.mt-hero-breadcrumbs {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #134076;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px calc(50vw - 50%);
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 36px;
}
.mt-hero-breadcrumbs a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mt-hero-breadcrumbs a:hover {
  color: #01ace8;
}
.mt-hero-breadcrumbs span {
  margin: 0 8px;
  color: #01ace8;
}

.mt-hero-eyebrow {
  display: inline-block;
  background: rgba(1, 172, 232, 0.16);
  border: 1px solid rgba(1, 172, 232, 0.45);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.mt-hero-row h1 {
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  max-width: 780px;
  margin: 0 0 16px 0 !important;
}

.mt-hero-lead {
  color: #e2e8f0 !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  max-width: 720px;
  margin: 0 0 28px 0 !important;
}

.mt-hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.mt-hero-pillar {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mt-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #01ace8;
  display: inline-block;
}

/* 3. Trust Stats Bar (.mt-stat-box) */
#wpb-content-root .mt-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
  text-align: left;
  height: 100%;
  transition: border-color 0.2s ease;
}
#wpb-content-root .mt-stat-box:hover {
  border-color: #01ace8;
}
#wpb-content-root .mt-stat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #01ace8;
  margin-bottom: 6px;
}
#wpb-content-root .mt-stat-box h3 {
  color: #003a70;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
}
#wpb-content-root .mt-stat-box p {
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* 4. Featured Client Spotlight (.mt-featured-box) */
#wpb-content-root .mt-featured-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eef6fc 100%);
  border: 1px solid #dbeafe;
  border-left: 5px solid #01ace8;
  border-radius: 14px;
  padding: 32px 36px;
  margin: 10px 0 36px 0;
  box-shadow: 0 6px 20px rgba(0, 58, 112, 0.05);
}

/* 5. Sleek Filter Tabs (.mt-testimonial-tabs) */
#wpb-content-root .mt-testimonial-tabs .vc_tta-tabs-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px !important;
  border-bottom: none !important;
}
#wpb-content-root .mt-testimonial-tabs .vc_tta-tab > a {
  border-radius: 999px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  transition: all 0.2s ease !important;
}
#wpb-content-root .mt-testimonial-tabs .vc_tta-tab.vc_active > a,
#wpb-content-root .mt-testimonial-tabs .vc_tta-tab > a:hover {
  background: #003a70 !important;
  border-color: #003a70 !important;
  color: #ffffff !important;
}
#wpb-content-root .mt-testimonial-tabs .vc_tta-panel-body {
  background: transparent !important;
  border: none !important;
  padding: 10px 0 0 0 !important;
}

/* 6. Native WPBakery Equal-Height Testimonial Cards (.mt-card-col) */
#wpb-content-root .mt-card-col > .vc_column-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px !important;
  box-shadow: 0 4px 16px rgba(0, 58, 112, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
#wpb-content-root .mt-card-col > .vc_column-inner:hover {
  transform: translateY(-3px);
  border-color: #bae6fd;
  box-shadow: 0 12px 28px rgba(0, 58, 112, 0.09);
}
#wpb-content-root .mt-card-col > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Standardize client logos across all cards */
#wpb-content-root .mt-card-col .wpb_single_image {
  margin-bottom: 16px !important;
  min-height: 52px;
  display: flex;
  align-items: center;
}
#wpb-content-root .mt-card-col .wpb_single_image img {
  max-height: 52px !important;
  width: auto !important;
  max-width: 170px !important;
  object-fit: contain;
}

/* Pull-quote heading & body copy */
#wpb-content-root .mt-card-col h3,
#wpb-content-root .mt-card-col h4,
#wpb-content-root .mt-quote-highlight {
  color: #003a70 !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
  text-align: left !important;
}
#wpb-content-root .mt-card-col p {
  text-align: left !important;
  line-height: 1.6;
  font-size: 14.5px;
}

/* 7. Clean Card Text Clamp, Toggle Link & Bottom-Pinned Author Footer */
#wpb-content-root .mt-card-col *::before,
#wpb-content-root .mt-card-col *::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#wpb-content-root .mt-clamp-text {
  position: relative;
  margin-bottom: 8px !important;
}

#wpb-content-root .mt-auto-toggle {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 4px 0 16px 0 !important;
  color: #01ace8 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  align-self: flex-start;
  text-align: left !important;
  box-shadow: none !important;
}
#wpb-content-root .mt-auto-toggle:hover {
  color: #003a70 !important;
  text-decoration: underline !important;
}

/* Pin Separator & Author Footer to the bottom of every card */
#wpb-content-root .mt-card-col .vc_separator {
  margin-top: auto !important;
  margin-bottom: 14px !important;
}
#wpb-content-root .mt-card-col .wpb_text_column:last-child {
  margin-bottom: 0 !important;
}

/* 8. Bottom Conversion CTA Banner (.mt-cta-banner) */
#wpb-content-root .mt-cta-banner {
  background: linear-gradient(135deg, #003a70 0%, #00264d 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  margin-top: 40px;
}
#wpb-content-root .mt-cta-banner h2 {
  color: #ffffff !important;
  font-size: 28px;
  margin: 0 0 12px 0;
}
#wpb-content-root .mt-cta-banner p {
  color: #cbd5e1 !important;
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 28px auto;
  text-align: center !important;
}

/* 9. Mobile Responsiveness */
@media (max-width: 991px) {
  #wpb-content-root .mt-card-col {
    margin-bottom: 24px;
  }
}
@media (max-width: 767px) {
  .mt-hero-row {
    padding: 0 0 44px 0 !important;
  }
  .mt-hero-breadcrumbs {
    margin-bottom: 24px;
  }
  .mt-hero-row h1 {
    font-size: 28px !important;
  }
}