/* Case studies, testimonials with town and year, Our work area filter (James, 2 Dec 2026).
   Loaded after barnes.css on the pages that use it; uses barnes.css variables only. */

.boa-filter-item[hidden], .t-group[hidden] { display: none !important; }

/* Awards strip: a quiet line of text links to the Houzz profile. */
.cs-awards { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 0; margin-bottom: 40px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); font-size: 13px; line-height: 20px; color: var(--text-body); }
.cs-awards .boa-eyebrow { color: var(--stone-text); margin-right: 10px; }
.cs-awards a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 4px; }
.cs-awards a:hover { text-decoration-color: var(--ink); }
.cs-awards__dot { color: var(--stone-text); }
.cs-awards--ow { margin: 72px 0 0; }

/* Testimonials: filter foot holds the count, the photographs link and Clear. */
.cs-tfilter { margin-bottom: 0; }
.cs-tfilter .boa-filter__foot { flex-wrap: wrap; justify-content: flex-start; column-gap: 32px; }
.cs-tfilter .boa-filter__count { margin: 0; }

/* Testimonial cards with a photograph. */
.boa-tcards { gap: 72px 48px; align-items: start; }
.boa-tcard { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.boa-tcard__media { display: block; width: 100%; margin-bottom: 8px; }
.boa-tcard__where { color: var(--stone-text); }
.boa-tcard__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; border-top: 1px solid var(--hairline); padding-top: 16px; margin-top: 4px; }
.boa-wall__lead { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 30px; color: var(--ink); }
.boa-wall__where { color: var(--stone-text); margin-top: 4px; }
.cs-groups { display: flex; flex-direction: column; gap: 112px; }
.t-group .boa-heading-row__aside { max-width: 460px; }

/* Case-study page. */
.cs-made { margin-top: 24px; }
.cs-list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 28px; color: var(--text-body); }
.cs-list li + li { margin-top: 6px; }
.cs-quotegrid { align-items: start; }
.cs-quotephoto { position: sticky; top: calc(var(--header-h, 80px) + 24px); }
.cs-pull { font-size: 44px; line-height: 54px; }
.cs-quote { display: flex; flex-direction: column; gap: 16px; }
.cs-quote p { margin: 0; font-family: var(--font-serif); font-size: 21px; line-height: 33px; color: var(--ink); text-wrap: pretty; }
.cs-quote__by { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--hairline); padding-top: 20px; }
.cs-quote__where { color: var(--stone-text); }
.cs-fig { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cs-fig figcaption { position: static !important; inset: auto !important; background: none !important; padding: 0 !important; margin: 0 !important; font-family: var(--font-sans) !important; font-style: normal !important; font-size: 13px !important; line-height: 20px !important; color: var(--stone-text) !important; opacity: 1 !important; transform: none !important; }
.cs-pair { align-items: start; }

/* Our work: a wide Book a visit card fills the last row. */
.cs-owcta { grid-column: span 2; display: flex; }
.cs-owcta__link { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; width: 100%; min-height: 240px; padding: 40px; background-color: var(--ink); color: var(--white); }
.cs-owcta__link .boa-eyebrow { color: rgba(255,255,255,.7); }
.cs-owcta__title { font-family: var(--font-serif); font-size: 40px; line-height: 48px; letter-spacing: .08em; text-transform: uppercase; }
.cs-owcta__text { font-size: 15px; line-height: 26px; color: rgba(255,255,255,.8); max-width: 420px; }
.cs-owcta__link:hover .cs-owcta__title { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

@media (max-width: 991px) {
  .cs-quotephoto { position: static; max-width: 520px; }
  .cs-pull { font-size: 34px; line-height: 42px; }
  .cs-groups { gap: 80px; }
}
@media (max-width: 767px) {
  .boa-tcards { gap: 56px 24px; }
}
@media (max-width: 600px) {
  .cs-pull { font-size: 28px; line-height: 36px; }
  .cs-quote p { font-size: 18px; line-height: 28px; }
  .boa-tcards { grid-template-columns: minmax(0, 1fr); }
  .cs-owcta { grid-column: 1 / -1; }
  .cs-owcta__link { padding: 28px; min-height: 0; }
  .cs-owcta__title { font-size: 30px; line-height: 38px; }
  .cs-awards { font-size: 12px; }
}
@media (max-width: 479px) {
  .cs-owcta { grid-column: auto; }
}

/* Testimonials: the opening quote sits just under the filter. */
.cs-tpull { border-top: 0; padding-top: 56px; }
@media (max-width: 600px) { .cs-tpull { padding-top: 40px; } }
@media (max-width: 600px) { .cs-awards__dot { display: none; } .cs-awards a + .cs-awards__dot + a { margin-left: 0; } }
