
.hero .hero-title{color:#126fa3;font-size:clamp(17px,1.65vw,24px);line-height:1.13;margin:0 0 22px;white-space:normal;max-width:590px}

.proof-band.refine-a .proof-grid>div+div{border-left:0}
.ewa-card p{font-weight:400}.ewa .link-space .text-link{font-size:21px}
.card-ribbon svg{width:140px;height:46px;right:18px;bottom:-3px;stroke-width:2.5;stroke-linecap:round}
.card-ribbon{height:43px}
.services{padding:58px 0 66px;background:#edf4fc}.services h2{text-align:center;font-size:clamp(30px,3vw,40px);margin-bottom:32px}.services-grid{margin-top:0;gap:56px}
.ewa{padding-bottom:88px}
.expertise-copy .button{margin-top:18px}.expertise .team-photo{align-self:end;margin-bottom:-70px}.expertise .team-photo img{display:block;object-position:bottom}
.project .button.blue{margin-top:12px}
.permanent-accent{color:#126fa3}
.inspection-icon-steps li:nth-child(3) .inspection-icon-wrap{background:#edf4fc}
.faq-grid{grid-template-columns:1fr;gap:12px}.faq h2{max-width:none}.questions{border-top:0}.questions summary{padding-left:0}.questions details p{max-width:900px}
.closing h2{margin-bottom:12px}.closing-content>p:not(.closing-slogan){font-size:20px;line-height:1.6;max-width:850px}.closing p.closing-slogan{font-size:17px;line-height:1.5;opacity:1;margin-top:4px;max-width:900px}.service-cities li{border-bottom:0}
.diagnosis-grid{grid-template-columns:1.2fr .8fr;gap:44px}.diagnosis-grid>div>h2{max-width:none;white-space:nowrap;font-size:clamp(25px,2.4vw,35px)}
.footer-tagline{max-width:none;white-space:nowrap;font-size:13px}.footer-grid{grid-template-columns:1.9fr 1fr 1fr;gap:42px}
@media(max-width:1000px){.diagnosis-grid{grid-template-columns:1fr;gap:32px}.expertise .team-photo{margin-bottom:-60px}.footer-grid{grid-template-columns:2fr 1fr 1fr;gap:24px}.footer-tagline{font-size:11px}}
@media(max-width:700px){.hero .hero-title{font-size:17.5px}.services{padding:46px 0}.services-grid{gap:28px}.expertise .team-photo{margin-bottom:-55px}.expertise-copy .button{margin-top:16px}.closing-content>p:not(.closing-slogan){font-size:18px}.closing p.closing-slogan{font-size:16px}.diagnosis-grid>div>h2{font-size:clamp(17px,4.35vw,29px);letter-spacing:-.03em}.footer-tagline{font-size:clamp(9px,2.55vw,13px)}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}

.proof-band.refine-a .proof-foot>div+div{border-left:0}

/* Rising wave marks follow the supplied one/two/three-curve reference. */
.ewa-card .card-ribbon{height:52px}.ewa-card .card-ribbon svg{width:160px;height:56px;right:14px;bottom:0;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:butt}
.closing>.wave:first-child,.closing>.wave:last-child{height:64px}
@media(max-width:700px){.closing>.wave:first-child,.closing>.wave:last-child{height:44px}}

/* Hero height and spacing. */
.hero,
.hero-inner {
  min-height: clamp(425px, 62svh, 520px);
}

.hero-inner {
  padding-block: 26px;
}

.hero .hero-title {
  /* Include the headline’s upward offset in the visible button gap. */
  margin-bottom: calc(var(--hero-button-gap) - var(--hero-title-lift));
}


.hero-summary {
  margin-bottom: 18px;
}

.proof-band.refine-a {
  padding-top: 18px;
}

.proof-band.refine-a .proof-grid {
  margin-bottom: 18px;
}

.proof-band.refine-a .proof-grid > div {
  row-gap: 8px !important;
}

@media (max-width: 700px) {
  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-inner {
    padding-block: 22px 0;
  }

  .hero .hero-title {
    font-size: clamp(13.5px, 3.6vw, 17.5px);
  }


  .hero-summary {
    margin-top: 0;
    margin-bottom: 14px;
    line-height: 1.5;
  }

  .hero-image {
    height: clamp(136px, 21svh, 182px);
    margin-top: 10px;
  }

  .hero-image img {
    object-position: 72% 36%;
  }
}

.live-match-header .brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
  container-type: inline-size;
}

.live-match-header .nav-slogan {
  /* Match the visible edges of the 602px logo, excluding its transparent margins. */
  margin-inline-start: 2.824%;
  color: #126fa3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.94cqi;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.hero .hero-title {
  color: var(--ink);
}

/* Anchor the photo at the top so the shorter hero keeps all faces visible. */
.hero .hero-image img {
  object-position: 68% top;
}

.hero-copy {
  --hero-text-width: 540px;
  --hero-button-gap: 37px;
  --hero-title-lift: 18px;
}

.hero .hero-title {
  transform: translateY(calc(-1 * var(--hero-title-lift)));
}

@media (max-width: 700px) {
  .hero .hero-image img {
    object-position: 72% top;
  }

  .hero-copy {
    --hero-text-width: 100%;
    --hero-button-gap: 33px;
    --hero-title-lift: 10px;
  }
}

.hero .hero-title,
.hero .hero-summary,
.hero-action {
  max-width: var(--hero-text-width);
  text-align: center;
}

.hero .hero-summary {
  margin-block: var(--hero-button-gap) 0;
}

.hero-action > .button.yellow {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 701px) {
  .hero .hero-inner {
    width: min(1420px, calc(100% - 64px));
  }
}

/* ===== Homepage revisions, Nov 2026 ===== */

/* Header CTA: let the button grow to fit "Schedule Free Inspection" (was a fixed 200px). */
@media (min-width: 1201px) {
  .live-match-header nav > a.nav-cta {
    width: auto;
    padding: 0 18px;
  }
}

/* On narrower desktops, let the logo give up a little width so the wider CTA
   and the phone number still fit. The header slogan scales with the logo. */
@media (min-width: 1201px) and (max-width: 1550px) {
  .live-match-header .brand {
    flex-shrink: 1;
    min-width: 0;
  }
}

/* Credentials: the 2025 and 2026 Best in the PNW badges sit side by side.
   The badges shrink together if the column gets narrow. */
.proof-band.refine-a .award-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.proof-band.refine-a .award-badges img {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  height: auto !important;
  max-width: 95px;
  aspect-ratio: 1;
}

@media (max-width: 700px) {
  .proof-band.refine-a .award-badges {
    gap: 4px;
  }

  .proof-band.refine-a .award-badges img {
    max-width: 54px;
  }
}

@media (min-width: 701px) {
  /* Our Services: the Drainage column is centered under the section heading,
     and the outer columns sit the same distance from it, so the three columns
     are evenly spaced. (1fr auto 1fr keeps the middle column centered.) */
  .services-grid {
    grid-template-columns: 1fr auto 1fr;
    /* Wide gaps push the outer columns toward the section edges: 230px on a
       full-width (1200px) container, shrinking on narrower screens. The
       widest even gap is limited by the "Mold and Restoration" column, which
       must still fit inside the right edge. */
    column-gap: clamp(60px, calc(50% - 370px), 230px);
  }

  .services-grid > .service-group:nth-child(1) {
    justify-self: end;
  }

  .services-grid > .service-group:nth-child(3) {
    justify-self: start;
  }

  /* Service area: slightly larger city names (was 15px). */
  .closing .service-cities {
    font-size: 17px;
  }

  /* Inspection: larger "No high-pressure sales presentations." line. */
  .inspection .no-pressure {
    font-size: 19px;
  }
}

/* Footer: larger logo, with the slogan spanning the logo's visible width
   (same technique as the header's .nav-slogan). */
@media (min-width: 1001px) {
  /* Logo width, shared with the link-column headings below so they can match
     the logo's height. 400px on smaller desktops so it never has to shrink. */
  .footer-grid {
    --footer-logo-w: 440px;
  }

  /* Extra .footer-grid in the selector so this beats the generic
     ".footer-grid > div > a:not(.button)" link rule in style.css. */
  .footer-grid .footer-brand > .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: var(--footer-logo-w);
    max-width: 100%;
    margin-bottom: 14px;
    text-decoration: none;
    container-type: inline-size;
  }

  .footer-brand .footer-logo img {
    width: 100%;
    margin-bottom: 0;
    /* Pull the logo left past its transparent margin so its visible edge
       lines up with the slogan, phone number and Contact Us button. */
    margin-left: -2.824%;
  }

  .footer-brand .footer-tagline {
    margin: 0;
    max-width: none;
    font-size: 3.94cqi;
    line-height: 1.3;
    white-space: nowrap;
  }

  /* "Who We Are" and "Solutions": each heading is as tall as the logo image
     (602x77) with its text centered, so it sits level with the logo. */
  .footer-grid h2 {
    display: flex;
    align-items: center;
    height: calc(var(--footer-logo-w) * 77 / 602);
    /* Small gap so the first link lines up with the slogan. */
    margin: 0 0 4px;
    font-size: 17px;
  }

  /* Larger footer links (was 13px). */
  .footer-grid > div:not(.footer-brand) > a {
    font-size: 15px;
    margin-bottom: 12px;
  }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .footer-grid {
    --footer-logo-w: 400px;
  }
}

/* Diagnosis section layout. The heading's size is set near the end of this
   file (two lines on desktop). On tablets and phones it wraps with balanced
   line lengths so no single word is left alone on the last line. */
.diagnosis-grid > div > h2 {
  white-space: normal;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.problem-panel h2 {
  text-wrap: balance;
}

@media (min-width: 1001px) {
  .diagnosis-grid {
    gap: 56px;
    align-items: center;
  }
}

/* Desktop: equal columns, and the panel title at 22px. From 1280px up the
   panel has room (~485px needed) for "Water, Moisture, and Mold Problems We
   Address" on one line; below that it wraps onto two balanced lines. */
@media (min-width: 1001px) {
  .diagnosis-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .problem-panel h2 {
    font-size: 22px;
  }
}

@media (min-width: 1280px) {
  .problem-panel h2 {
    max-width: none; /* style.css caps .diagnosis h2 at 480px */
    white-space: nowrap;
  }
}

/* Sticky header: stays at the top of the screen while the page scrolls.
   The mobile/tablet menu already limits itself to the viewport height
   (max-height: calc(100vh - header)), so it still scrolls when open. */
.live-match-header {
  position: sticky;
  top: 0;
}

/* Offset in-page links (#faq, #service-area, ...) by the header height plus
   a little breathing room, so headings don't land underneath the header.
   Header heights: 150px desktop, 110px tablet, 90px phone. */
html {
  scroll-padding-top: 160px;
}

@media (max-width: 1200px) {
  html {
    scroll-padding-top: 120px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 100px;
  }
}

/* Contractor registration in the footer bottom line: after the copyright on
   larger screens, on its own line on phones. */
.footer-reg {
  white-space: nowrap;
}

.footer-reg::before {
  content: " · ";
}

@media (max-width: 700px) {
  .footer-reg {
    display: block;
    margin-top: 2px;
  }

  .footer-reg::before {
    content: none;
  }

  .footer-bottom > a {
    white-space: nowrap;
  }
}

/* EWA cards: pictures sized like the current wetbasementservices.com cards
   (333px circles in ~387px cards at desktop width). The card padding is
   trimmed so a 333px picture fits a 381px card. Phones keep the compact
   side-by-side card layout from style.css. */
.ewa-card:first-child img {
  /* Undo the old "diagram in card 1" rule (contain + padding): every card
     picture now fills its circle, like the live site's diagram card. */
  object-fit: cover;
  padding: 0;
}

/* Hero collage: on tablet/desktop the image starts just right of the text
   column instead of sitting under it, and the white fade is removed, so every
   photo in the collage shows at full strength. The left edge tracks
   .hero-inner: its left offset + the text column width (49% of the inner box,
   max 570px) + a 32px gap. */
@media (min-width: 701px) {
  .hero .hero-image {
    left: calc(max(32px, (100% - 1420px) / 2) + min(570px, min(1420px, 100% - 64px) * 0.49) + 32px);
    opacity: 1;
  }

  .hero .hero-image::after {
    content: none;
  }

  .hero .hero-image img {
    object-position: center top;
  }
}

/* Up to 1180px the text column is 52% wide (style.css). */
@media (min-width: 701px) and (max-width: 1180px) {
  .hero .hero-image {
    left: calc(32px + (100% - 64px) * 0.52 + 32px);
  }
}

@media (min-width: 701px) {
  .ewa-card {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ewa-card img {
    width: 100%;
    max-width: 333px;
    height: auto;
    aspect-ratio: 1;
  }
}

/* Phones: the EWA card ribbon is 52px tall (rule near the top of this file),
   but style.css only reserves 45px of bottom padding for the older 16px
   ribbon, so the last line of text ran under the ribbon. Reserve the full
   ribbon height plus a gap. The minimum height also clears the 100px
   picture: 25px top + 100px picture + 20px gap + 52px ribbon = 197px. */
@media (max-width: 700px) {
  .ewa-card {
    padding-bottom: 72px;
    min-height: 197px;
  }
}

/* Service area cities: alphabetical order reads top-to-bottom down each
   column (newspaper columns) instead of left-to-right across rows.
   Same column counts as before: 4 desktop, 3 tablet, 2 phone. */
.closing .service-cities {
  display: block;
  columns: 4;
  column-gap: 22px;
}

.closing .service-cities li {
  break-inside: avoid;
  margin-bottom: 6px;
}

@media (max-width: 1000px) {
  .closing .service-cities {
    columns: 3;
  }
}

@media (max-width: 700px) {
  .closing .service-cities {
    columns: 2;
    column-gap: 18px;
  }

  .closing .service-cities li {
    margin-bottom: 4px;
  }
}

/* EWA Approach cards: each card is headed by its term (Evaluation, Water
   patterns, Advice) with the EWA letter enlarged in the card's accent colour.
   The heading replaces the old 01/02/03 step numbers. */
.ewa-card .ewa-term {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink, #1d2731);
}

.ewa-card .ewa-letter {
  font-size: 1.55em;
  line-height: 1;
  color: var(--blue);
}

.ewa-card.tone-1 .ewa-letter {
  color: var(--red);
}

.ewa-card.tone-2 .ewa-letter {
  /* Darker than the #d5b523 card border so the letter is readable on white. */
  color: #9a7b00;
}

.ewa-card p {
  font-size: 16px;
}

@media (max-width: 1000px) {
  .ewa-card .ewa-term {
    font-size: 21px;
  }

  .ewa-card p {
    font-size: 15px;
  }
}

/* Phones: the card is a flex row (picture absolutely placed on the left);
   the heading and text sit in .ewa-body so they stack. */
@media (max-width: 700px) {
  .ewa-card .ewa-term {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .ewa-card p {
    font-size: 15px;
  }
}

/* The "Learn more" link under the EWA cards was removed, so the section's
   bottom padding (88px above) now provides the gap to Our Services on
   its own. Phones use a smaller gap. */
@media (max-width: 700px) {
  .ewa {
    padding-bottom: 56px;
  }
}

/* Heading order (SEO): the mega-menu column titles are no longer h2s (they
   came before the page's h1), and the Our Services group titles are h3s
   instead of h4s. These rules keep both looking the same as before. */
.mega-column .mega-heading {
  font-weight: 700;
  color: var(--ink);
}

.service-group h3 {
  letter-spacing: 0;
}

/* Google rating badge (beside the BBB seal under the reviews). A light card
   about the same height as the BBB seal. The gold stars are an overlay whose
   width is set inline from the rating, on top of grey stars. */
.google-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 22px 12px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #f6f7f8;
  box-shadow: 0 1px 3px #0000001a;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
  transition: box-shadow .18s, transform .18s;
}

.google-badge:hover {
  box-shadow: 0 4px 12px #0000002b;
  transform: translateY(-2px);
}

.google-badge .gb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #4a5560;
}

.google-badge .gb-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.google-badge .gb-stars {
  position: relative;
  display: inline-block;
  font-size: 20px;
  letter-spacing: 2px;
  color: #d6dbe0;
}

.google-badge .gb-stars > span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f4b400;
}

.google-badge .gb-rating {
  font-size: 24px;
  font-weight: 800;
}

.google-badge .gb-count {
  font-size: 12px;
  color: #4a5560;
}

/* EWA section: the one-sentence definition under the headline. */
.ewa .ewa-definition {
  margin-top: -6px;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .ewa .ewa-definition {
    font-size: 16px;
  }
}

/* Heading order: footer column titles are h2s (they were h3s that fell under
   the service-area h2), and each FAQ question is an h3 inside its summary.
   The FAQ h3 takes the summary's existing look. */
.questions summary .faq-q {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* Footer address (shown once SITE["address"] is filled in content.py). */
.footer-brand .footer-address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  color: #34516e;
  margin: 0 0 6px;
}

/* Footer logo block: only the logo links back to the top; the slogan is
   plain text. The wrapper is a div now, so it no longer picks up the footer
   link styles; these rules keep the previous spacing. */
.footer-brand > .footer-logo {
  margin-bottom: 10px;
}

.footer-brand > .footer-logo > a {
  display: block;
  align-self: stretch;
}

.footer-brand .footer-logo .footer-tagline {
  margin-bottom: 0;
}



/* Body text size: section paragraphs match the diagnosis text and the site's
   base size (17px; 16px on phones). Before this, Expertise was 16px (14px on
   tablets), the Bellevue project 15px and Warranty 16px. The small uppercase
   Diagnosis / Solution / Result labels keep their own size. */
.expertise-copy p,
.project-record p,
.warranty p {
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .expertise-copy p,
  .project-record p,
  .warranty p {
    font-size: 16px;
  }
}

/* Section headings (h2): one size for every main section heading, smaller
   than the original 37px. 32px on wide screens, scaling down to 26px.
   Not included: the diagnosis heading and the problems-panel title (sized
   separately below and above) and the footer column titles. */
.ewa h2,
.services h2,
.expertise-copy h2,
.project h2,
.warranty h2,
.testimonials h2,
.inspection h2,
.faq h2,
.closing h2 {
  font-size: clamp(26px, 2.2vw, 32px);
}

@media (max-width: 700px) {
  .ewa h2,
  .services h2,
  .expertise-copy h2,
  .project h2,
  .warranty h2,
  .testimonials h2,
  .inspection h2,
  .faq h2,
  .closing h2 {
    font-size: 26px;
  }
}

/* Diagnosis heading ("Can Footing Drains or Gutters Cause Basement Leaks,
   and What Solutions May Help?"): exactly two lines on desktop, with the
   first line ending at the right edge of the paragraphs below.
   The text column is a size container and the font size is a fraction of
   its width (cqi). "Can Footing Drains or Gutters Cause Basement" is ~21.6x
   its font size wide, so 4.6cqi makes that first line fill ~99% of the
   column; the rest ("Leaks, and What Solutions May Help?") is line 2.
   If the heading wording changes, this number must be recalculated.
   Below ~1080px the 22px minimum takes over and it may wrap to 3 lines. */
.diagnosis-grid > div > h2 {
  font-size: 26px;
}

@media (min-width: 1001px) {
  .diagnosis-grid > div {
    container-type: inline-size;
  }

  .diagnosis-grid > div > h2 {
    font-size: max(22px, 4.6cqi);
    line-height: 1.2;
    text-wrap: wrap;
  }
}

/* Under the review carousel: the Google rating badge, then the "Read Client
   Experiences" link, centred side by side (stacked on phones). The BBB seal
   that used to sit here was removed; it still appears in the credentials band. */
.testimonials .review-links {
  align-items: center;
  justify-content: center;
  gap: 32px;
}

@media (max-width: 700px) {
  .testimonials .review-links {
    flex-direction: column;
    gap: 18px;
  }
}

/* Expertise: portrait photo of Jerzy on the left, text on the right.
   The photo is a framed rectangle (not a cut-out), so it sits inside the
   section instead of overlapping the bottom wave. */
.expertise-grid { align-items: center; }
.expertise-photo { margin: 0 0 40px; position: relative; z-index: 2; }
.expertise-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16, 44, 74, .18);
}
@media (min-width: 701px) {
  .expertise-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
  .expertise-photo img { max-width: 440px; margin-left: auto; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .expertise-grid { gap: 32px; }
}
@media (max-width: 700px) {
  .expertise-photo { margin: 0 auto 8px; max-width: 360px; }
}

/* Small topic label above a slogan-style heading (Expertise). Matches the
   Diagnosis / Solution / Result labels in the case study. */
.section-label {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* In-text links: problems list and FAQ answers. */
.problem-panel li a,
.questions details p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(52, 120, 200, .55);
  text-underline-offset: 3px;
}
.problem-panel li a:hover,
.questions details p a:hover { color: var(--blue); }

/* "See All Frequently Asked Questions" blue button under the FAQ list. */
.faq .faq-all {
  justify-self: start;
  margin-top: 18px;
}

/* Closing line above the button ("Get a clear explanation…"): about 1.2x
   its previous size (20px desktop, 18px phone). */
.closing .closing-content > p:not(.closing-slogan) {
  font-size: 24px;
  text-wrap: balance;
}
@media (max-width: 700px) {
  .closing .closing-content > p:not(.closing-slogan) { font-size: 21px; }
}

/* Phone layout: images above their text, as on the live site.
   EWA cards: picture centred on top, then the term and text (style.css had
   the picture pinned to the left of the text).
   Case study: project photo first, then heading and record. */
@media (max-width: 700px) {
  .ewa-card {
    display: block;
    min-height: 0;
    padding: 26px 24px 72px;
  }
  .ewa-card img {
    position: static;
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto 20px;
  }

  .project-grid { flex-direction: column; }
}

/* Service-area city names centred in their columns at every screen size
   (laptop/desktop, tablet and phone). */
.closing .service-cities li { text-align: center; }

/* Phones: the Expertise text is now the last item in the section (the photo
   moved above it), so it needs its own space above the bottom wave. The old
   5px was for the cut-out team photo, which used to sit on the wave. */
@media (max-width: 700px) {
  .expertise-copy { padding-bottom: 44px; }
}

/* Phones: the credentials row gives the Seattle Times column a larger share
   (1 : 1 : 1.45 : 1) so both award badges fit side by side at the same 54px
   as the IICRC badge (they were squeezed to 38px in an equal-width column).
   On very small phones the badges shrink together to fit. */
@media (max-width: 700px) {
  .proof-band.refine-a .proof-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
  }
  .proof-band.refine-a .proof-grid > .award-proof {
    padding-left: 2px;
    padding-right: 2px;
  }
  .proof-band.refine-a .bha-badge { max-width: 100%; }
}
