/* Case studies — faithful to harveylawcorporation.com/case-studies/.
   Detail (.hlg-single*) block is verbatim from the live site; the index
   (.hlg-cs-*) is rebuilt to match the same clean aesthetic.
   Palette: green #405c54, ink #394542, border #dde6e4, Baskerville titles. */

/* =================== detail page (verbatim from live) =================== */
.hlg-single * { box-sizing: border-box; }
.hlg-single { font-family: 'Open Sans', sans-serif; color: #394542; font-size: 1rem; line-height: 1.6; }
.hlg-single h1, .hlg-single h2, .hlg-single h3 { font-family: 'Baskerville', Georgia, serif; font-weight: bold; color: #405c54; margin-bottom: 1.25rem; }
.hlg-single h1 { font-size: 2rem; margin-bottom: 0.5rem; line-height: 1.25; }
.hlg-single h2 { font-size: 22px; margin-top: 2.5rem; }
.hlg-single h3 { font-size: 1.1rem; margin-top: 0; margin-bottom: 0.75rem; }
.hlg-single p { margin-bottom: 1.25rem; }
.hlg-single ul, .hlg-single ol { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.hlg-single li { margin-bottom: 0.5rem; }
.hlg-single-strip { border-top: 2px solid #405c54; border-bottom: 1px solid #dde6e4; padding: 1.5rem 0; margin: 2rem 0 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem 2rem; }
.hlg-single-strip .si-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #405c54; opacity: 0.55; display: block; margin-bottom: 3px; }
.hlg-single-strip .si-value { font-family: 'Baskerville', Georgia, serif; font-size: 1.05rem; color: #405c54; }
.hlg-single hr { border: none; border-top: 1px solid #dde6e4; margin: 2.5rem 0; }
.hlg-single-callout { border-left: 3px solid #405c54; padding: 1.25rem 1.5rem; background: #f8f9f8; margin: 1.5rem 0; }
.hlg-single-callout p:last-child { margin-bottom: 0; }
.hlg-single-testimonial { border-left: 3px solid #405c54; padding: 1.25rem 1.5rem; background: #f8f9f8; margin: 1.5rem 0; }
.hlg-single-testimonial blockquote { font-family: 'Baskerville', Georgia, serif; font-size: 1.1rem; color: #405c54; font-style: italic; line-height: 1.6; margin: 0 0 0.75rem; }
.hlg-single-testimonial cite { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #405c54; opacity: 0.55; font-style: normal; }
.hlg-single-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hlg-single-table tr { border-bottom: 1px solid #dde6e4; }
.hlg-single-table tr:last-child { border-bottom: none; }
.hlg-single-table td { padding: 0.85rem 0; vertical-align: top; font-size: 0.95rem; }
.hlg-single-table td:first-child { width: 210px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #405c54; opacity: 0.6; padding-right: 2rem; padding-top: 1rem; }
.hlg-single-related { border-top: 1px solid #dde6e4; margin-top: 3.5rem; padding-top: 2.5rem; }
.hlg-single-related-label { font-family: 'Open Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #405c54; opacity: 0.6; display: block; margin-bottom: 0.75rem; }
.hlg-single-related-list { list-style: none; margin: 0; padding: 0; }
.hlg-single-related-list li { border-bottom: 1px solid #dde6e4; }
.hlg-single-related-list li:first-child { border-top: 1px solid #dde6e4; }
.hlg-single-related-list li a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; text-decoration: none; color: #394542; }
.hlg-single-related-list li a:hover .hlg-single-related-country { opacity: 0.65; }
.hlg-single-related-country { font-family: 'Baskerville', Georgia, serif; font-size: 1rem; color: #405c54; min-width: 180px; }
.hlg-single-related-programme { font-size: 0.88rem; color: #394542; opacity: 0.7; flex: 1; padding: 0 1.5rem; }
.hlg-single-related-arrow { color: #405c54; opacity: 0.35; }

/* breadcrumb above the single */
.cs-breadcrumb { margin: 0 0 0.5rem; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #405c54; }
.cs-breadcrumb a { color: #405c54; opacity: 0.65; text-decoration: none; }
.cs-breadcrumb a:hover { opacity: 1; }
.cs-breadcrumb span.sep { opacity: 0.4; margin: 0 0.4rem; }

/* (Contact CTA under a case study uses the site's standard .section--navy block.) */

/* =================== index page (rebuilt to match) =================== */
.hlg-cs-wrap { font-family: 'Open Sans', sans-serif; color: #394542; }

/* featured / latest */
.hlg-cs-featured { border-top: 2px solid #405c54; border-bottom: 1px solid #dde6e4; padding: 2rem 0 2.5rem; margin-bottom: 2.5rem; }
.hlg-cs-section-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #405c54; opacity: 0.6; display: block; margin-bottom: 1rem; }
/* tagline only is muted; the wrapper (.hlg-cs-featured-body) must NOT carry
   opacity, or it dims the whole featured block (title/excerpt/link). */
.hlg-cs-featured-tagline { font-size: 0.8rem; letter-spacing: 0.06em; color: #405c54; opacity: 0.7; display: block; margin-bottom: 0.75rem; }
.hlg-cs-featured-title { font-family: 'Baskerville', Georgia, serif; font-weight: bold; color: #405c54; font-size: 1.8rem; line-height: 1.25; margin: 0 0 1rem; max-width: 30ch; }
.hlg-cs-featured-excerpt { font-size: 1rem; line-height: 1.7; color: #394542; max-width: 70ch; margin: 0 0 1.25rem; }
.hlg-cs-featured-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.75rem; margin: 0 0 1.4rem; padding-top: 1.25rem; border-top: 1px solid #eef2f1; }
.hlg-cs-featured-facts > div { min-width: 0; }

/* card grid */
.hlg-cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.hlg-cs-card { display: flex; flex-direction: column; border: 1px solid #dde6e4; border-radius: 4px; padding: 1.5rem 1.5rem 1.25rem; text-decoration: none; color: #394542; background: #fff; transition: box-shadow .18s, transform .18s, border-color .18s; }
.hlg-cs-card:hover { box-shadow: 0 10px 28px rgba(64,92,84,.12); transform: translateY(-3px); border-color: #405c54; }
.hlg-cs-card-tag { font-size: 0.78rem; letter-spacing: 0.01em; text-transform: none; color: #405c54; opacity: 0.7; margin-bottom: 0.6rem; }
.hlg-cs-card-title { font-family: 'Baskerville', Georgia, serif; font-weight: bold; color: #405c54; font-size: 1.15rem; line-height: 1.35; margin: 0 0 1.1rem; }
.hlg-cs-card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid #eef2f1; }
.hlg-cs-card-fact-label { font-size: 0.7rem; letter-spacing: 0.01em; text-transform: none; color: #405c54; opacity: 0.6; display: block; margin-bottom: 2px; }
.hlg-cs-card-fact { font-size: 0.85rem; color: #394542; line-height: 1.4; display: block; }
/* Link pins to the card bottom so cards with no facts grid (e.g. the US-artist
   study) align with cards that have one, instead of leaving a gap. */
.hlg-cs-card-link { margin-top: auto; font-size: 0.82rem; letter-spacing: 0.01em; text-transform: none; color: #405c54; font-weight: 600; }
.hlg-cs-card-facts + .hlg-cs-card-link { margin-top: 1.1rem; }
.hlg-cs-card:hover .hlg-cs-card-link { color: #2d4541; }

@media (max-width: 600px) {
  .hlg-single-table td:first-child { width: 130px; }
  .hlg-single h1 { font-size: 1.5rem; }
  .hlg-single-related-programme { display: none; }
  .hlg-cs-featured-title { font-size: 1.4rem; }
  .hlg-cs-card-facts { grid-template-columns: 1fr 1fr; }
}
