/* MBH Reviews & Testimonials page (/testimonials/) — Review Pages/testimonials.css adapted to Cornerstone markup.
   Cornerstone wraps Image elements in span.x-image (class lands on the span) and nests
   Headline tags inside .x-text-content-text-primary. */

/* --- nav --- */
.mbh-page .mbh-nav a.is-current,
.mbh-page .mbh-nav a.is-current .x-text{color:#3E4F21!important;font-weight:600!important}

/* --- hero --- */
.mbh-page .x-section.mbh-tst-hero-sec{padding:76px 0 0!important;background:#F7F3E9}
.mbh-tst-hero,
.mbh-page .mbh-tst-hero.x-div{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:24px;max-width:1232px;width:100%;margin:0 auto;padding:clamp(56px,7vw,96px) 24px clamp(56px,6vw,80px);box-sizing:border-box}
.mbh-page .mbh-tst-h1,
.mbh-page .mbh-tst-h1 .x-text-content-text-primary,
.mbh-page .mbh-tst-h1 h1{
  font-family:Poppins,system-ui,sans-serif!important;font-size:clamp(42px,5.6vw,76px)!important;line-height:1!important;
  font-weight:600!important;letter-spacing:-.03em!important;color:#1B1B18!important;text-transform:none!important;
  margin:0!important;text-wrap:balance
}
.mbh-page .mbh-tst-lead,
.mbh-page .mbh-tst-lead .x-text-content-text-primary{margin:0;font-size:clamp(19px,1.7vw,22px)!important;line-height:1.6!important;color:#2A2A24!important;max-width:640px;text-wrap:balance}

/* Hero trust badges */
.mbh-badges,
.mbh-page .mbh-badges.x-div{display:flex!important;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px}
.mbh-badge,
.mbh-page .mbh-badge.x-div{display:flex!important;align-items:center;gap:12px;padding:12px 18px 12px 12px;background:#fff;border:1px solid #E6E2D2;border-radius:18px;text-align:left}
.mbh-badge__ico{flex:none;width:44px;height:44px;border-radius:12px;background:#2E3A1C;color:#C9DB9B;display:grid;place-items:center;font-size:20px;line-height:1}
.mbh-page .mbh-badge__ico,
.mbh-page .mbh-badge__ico *{color:#C9DB9B!important}
.mbh-badge__ico svg{display:block}
.mbh-badge strong{display:block;font-size:18px;font-weight:600;color:#1B1B18}
.mbh-badge small{display:block;font-size:16px;color:#4A4A42}

/* --- shared section heads --- */
.mbh-tst-head,
.mbh-page .mbh-tst-head.x-div{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:16px;width:100%}
.mbh-page .mbh-tst-head .mbh-h2,
.mbh-page .mbh-tst-head .mbh-h2 .x-text-content-text-primary{text-align:center!important;max-width:860px;margin-left:auto!important;margin-right:auto!important;white-space:normal;text-wrap:balance}
.mbh-page #reviews .mbh-tst-head .mbh-h2,
.mbh-page #reviews .mbh-tst-head .mbh-h2 .x-text-content-text-primary,
.mbh-page #sellers .mbh-tst-head .mbh-h2,
.mbh-page #sellers .mbh-tst-head .mbh-h2 .x-text-content-text-primary{max-width:none;font-size:clamp(30px,3.2vw,46px)!important;line-height:1.08!important;letter-spacing:-.02em!important}
.mbh-page .mbh-tst-sub,
.mbh-page .mbh-tst-sub .x-text-content-text-primary{margin:0;font-size:20px!important;line-height:1.6!important;color:#3A3A32!important;max-width:640px;text-wrap:balance}
.mbh-page .mbh-tst-wall-sec .mbh-wrap > .x-row-inner > .x-col{gap:20px!important}
.mbh-page .mbh-tst-mosaic-sec .mbh-wrap > .x-row-inner > .x-col{gap:40px!important}
.mbh-page .x-section.mbh-tst-wall-sec,
.mbh-page .x-section.mbh-tst-mosaic-sec{padding:96px 0!important}

/* --- review wall --- */
.mbh-wallwrap{display:flex;flex-direction:column;gap:20px;width:100%}
.mbh-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.mbh-chip{display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 20px;border-radius:14px;border:1.5px solid #C9CFB8;background:#fff;color:#1B1B18;font:600 18px/1 Poppins,system-ui,sans-serif;cursor:pointer;transition:background-color .25s,color .25s,border-color .25s,transform .15s}
.mbh-chip span{font-size:15px;opacity:.75}
.mbh-chip[aria-pressed="true"]{background:#556B2F;border-color:#556B2F;color:#fff}
.mbh-chip:active{transform:scale(.97)}
.mbh-chip:focus-visible{outline:3px solid #A9C46C;outline-offset:2px}
.mbh-wall__status{margin:0;text-align:center;font-size:18px;color:#3A3A32}

/* Masonry wall */
.mbh-wall{columns:3 320px;column-gap:20px;margin-top:12px}
@media (max-width:1040px){.mbh-wall{columns:2 280px}}
@media (max-width:640px){.mbh-wall{columns:1}}
.mbh-rcard{break-inside:avoid;margin:0 0 20px;display:flex;flex-direction:column;gap:14px;padding:24px;background:#fff;border:1px solid #E6E2D2;border-radius:20px;box-shadow:0 0 30px rgba(20,26,12,.06);text-align:left}
.mbh-rcard[hidden]{display:none}
.mbh-rcard__head{display:flex;align-items:center;gap:12px}
.mbh-rcard__av{flex:none;width:44px;height:44px;border-radius:22px;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:600;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.mbh-rcard__who{display:flex;flex-direction:column;gap:2px;min-width:0}
.mbh-rcard__who strong{font-size:18px;font-weight:600;color:#1B1B18}
.mbh-rcard__tag{font-size:16px;font-weight:600;color:#3E4F21}
.mbh-rcard__stars{display:flex;align-items:center;gap:8px;font-size:15px;color:#4A4A42}
.mbh-rcard__stars span{color:#B98A10;font-size:18px;letter-spacing:2px}
.mbh-page .mbh-rcard__text{margin:0;padding:0;border:0;background:none;font-size:18px;line-height:1.65;color:#2A2A24;font-style:normal;quotes:none}
.mbh-page .mbh-rcard__text::before,.mbh-page .mbh-rcard__text::after{content:none}
.mbh-rcard__text.is-long{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;overflow:hidden}
.mbh-rcard.is-open .mbh-rcard__text{display:block;-webkit-line-clamp:none}
.mbh-rcard__more{align-self:flex-start;padding:0;border:0;border-bottom:2px solid #A9C46C;border-radius:0;background:none;color:#3E4F21;font:600 17px/1.4 Poppins,system-ui,sans-serif;cursor:pointer}

/* Card interaction: mouse only */
@media (hover:hover) and (pointer:fine){
  .mbh-rcard{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s}
  .mbh-rcard:hover{transform:translateY(-4px);box-shadow:0 18px 40px -18px rgba(20,26,12,.28);border-color:#A9C46C}
  .mbh-rcard:hover .mbh-rcard__av{transform:scale(1.08) rotate(-4deg)}
}
/* Cards entering after a filter or "Show more" */
@keyframes mbh-rc-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
.mbh-rcard.is-entering{animation:mbh-rc-in .48s cubic-bezier(.2,.7,.2,1) backwards}
@media (prefers-reduced-motion:reduce){.mbh-rcard,.mbh-rcard__av{transition:none!important;transform:none!important}.mbh-rcard.is-entering{animation:none}}
.mbh-wall__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:12px}
.mbh-wall__actions .mbh-btn{height:60px;padding:0 28px;font-size:18px;border-radius:30px}
.mbh-wall__actions .mbh-btn--ghost{background:transparent;border:1.5px solid #556B2F;color:#3E4F21!important}
.mbh-wall__actions .mbh-btn--ghost:hover{background:#F1F4EA;color:#3E4F21!important;text-decoration:none}
.mbh-wall__load[hidden]{display:none}

/* --- client photo mosaic: 10 photos, 4 rows, big tiles top-left and bottom-right --- */
.mbh-mosaic,
.mbh-page .mbh-mosaic.x-div{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(180px,19vw,260px);grid-auto-flow:dense;gap:16px;width:100%}
.mbh-page .mbh-mosaic__item.x-div{position:relative!important;display:block!important;margin:0;border-radius:24px;overflow:hidden;background:#E6EADB}
.mbh-page .mbh-mosaic__item--first.x-div{grid-column:span 2;grid-row:span 2}
.mbh-page .mbh-mosaic__item--last.x-div{grid-column:3/5;grid-row:3/5}
.mbh-page .mbh-mosaic__item .x-image{position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0;display:block}
.mbh-page .mbh-mosaic__item img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover) and (pointer:fine){.mbh-page .mbh-mosaic__item:hover img{transform:scale(1.04)}}
@media (max-width:760px){
  .mbh-mosaic,.mbh-page .mbh-mosaic.x-div{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(140px,34vw,220px)}
  .mbh-page .mbh-mosaic__item--first.x-div,.mbh-page .mbh-mosaic__item--last.x-div{grid-column:1/-1;grid-row:span 1}
}

/* --- google business profile (location card, larger type) --- */
.mbh-page .mbh-tst-gmb .mbh-gmb__row{font-size:18px}
.mbh-page .mbh-tst-gmb .mbh-gmb__based{font-size:16px;line-height:1.4}
.mbh-page .mbh-tst-gmb .mbh-gmb__stars{color:#E3B341;font-size:18px}

/* --- faq --- */
.mbh-page .mbh-tst-faq .mbh-faq-list .mbh-faq-item h3{font-size:21px}
.mbh-page .mbh-tst-faq .mbh-faq-list .mbh-faq-item p{font-size:18px}

/* --- final cta (short, pill address form) --- */
.mbh-page .x-section.mbh-tst-offer{padding:80px 0!important;background:#2E3A1C;color:#fff}
.mbh-tst-offer__inner,
.mbh-page .mbh-tst-offer__inner.x-div{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:20px;max-width:820px;width:100%;margin:0 auto;padding:0 24px;box-sizing:border-box}
.mbh-page .mbh-tst-offer .mbh-h2,
.mbh-page .mbh-tst-offer .mbh-h2 .x-text-content-text-primary,
.mbh-page .mbh-tst-offer .mbh-h2 h2{color:#fff!important;text-align:center!important;font-size:clamp(32px,3.4vw,46px)!important}
.mbh-page .mbh-tst-offer__lead,
.mbh-page .mbh-tst-offer__lead .x-text-content-text-primary{margin:0;font-size:19px!important;line-height:1.6!important;color:#E3EAD2!important;text-wrap:balance}
.mbh-page .mbh-tst-offer__call,
.mbh-page .mbh-tst-offer__call .x-text-content-text-primary{margin:0;font-size:18px!important;color:#fff!important}
.mbh-page .mbh-tst-offer__call a{color:#fff!important;font-weight:600;border-bottom:2px solid #A9C46C;text-decoration:none}

.mbh-offer-pill,
.mbh-page .mbh-offer-pill.x-div{width:100%;max-width:640px;margin-top:8px;padding:10px;background:#fff;border-radius:36px;box-shadow:0 20px 40px -18px rgba(0,0,0,.5);color:#1B1B18;text-align:left;box-sizing:border-box}
.mbh-offer-pill .gform_wrapper{width:100%;margin:0!important}
.mbh-offer-pill .gform_wrapper form{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;width:100%}
.mbh-offer-pill .gform_wrapper .gform_body{flex:1 1 260px;min-width:0;margin:0;padding:0}
.mbh-offer-pill .gform_wrapper .gform_fields{display:block!important;width:100%}
.mbh-offer-pill .gform_wrapper .gfield{margin:0!important;padding:0!important}
.mbh-offer-pill .gform_wrapper .gfield_label,
.mbh-offer-pill .gform_wrapper .gform-field-label,
.mbh-offer-pill .gform_wrapper .gfield_required{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}
.mbh-page .mbh-offer-pill .gform_wrapper.gravity-theme .ginput_container{margin:0!important}
.mbh-offer-pill .gform_wrapper input[type=text]{
  width:100%!important;height:56px!important;min-height:56px!important;padding:0 20px!important;
  border:0!important;border-radius:28px!important;background:#fff!important;font-size:18px!important;color:#1B1B18!important;box-shadow:none!important
}
.mbh-offer-pill .gform_wrapper .gform_footer,
.mbh-offer-pill .gform_wrapper .gform-footer{flex:1 0 auto;width:auto!important;display:flex!important;margin:0!important;padding:0!important}
.mbh-page .mbh-offer-pill .gform_wrapper.gravity-theme .gform_button,
.mbh-page .mbh-offer-pill .gform_wrapper.gravity-theme input[type=submit],
.mbh-page .mbh-offer-pill .gform_wrapper.gravity-theme button[type=submit]{
  width:100%!important;height:56px!important;min-height:56px!important;padding:0 26px!important;border:0!important;border-radius:28px!important;
  background:#556B2F!important;color:#fff!important;font-size:18px!important;font-weight:600!important;white-space:nowrap;cursor:pointer
}
.mbh-offer-pill .gform_wrapper .gform_button:hover{background:#3E4F21!important}
.mbh-offer-pill .gform_wrapper .gfield--type-hidden,
.mbh-offer-pill .gform_wrapper .gform_hidden{display:none!important}
.mbh-offer-pill .gform_wrapper .validation_message,
.mbh-offer-pill .gform_wrapper .gform_validation_errors{margin:8px 12px 0!important;font-size:15px}
@media (max-width:560px){
  .mbh-offer-pill,.mbh-page .mbh-offer-pill.x-div{border-radius:28px}
  .mbh-offer-pill .gform_wrapper form{flex-direction:column}
  .mbh-offer-pill .gform_wrapper .gform_body{flex:0 0 auto}
  .mbh-offer-pill .gform_wrapper .gform_footer{width:100%!important}
}
