/* Case study page: Carolina's Elite Plumbing */
.cs-page { --paper: #FAF7F5; --ink: #1F2A44; --berry: #B03E6E; --berry-dark: #8A2E55; color-scheme: light; }

.cs-page a { color: var(--berry); } .cs-page a:hover { color: var(--berry-dark); }
.cs-page a:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.cs-page { max-width: 1440px; margin: 0 auto; background: var(--paper); display: flex; flex-direction: column; overflow-x: clip; }
.cs-page img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; } .cs-page section[id] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 1100px) {
  .cs-page section { padding-left: max(24px, env(safe-area-inset-left, 0px)) !important; padding-right: max(24px, env(safe-area-inset-right, 0px)) !important; }
  .cs-page [style*="repeat(4, minmax(0, 1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .cs-page section { padding-left: max(16px, env(safe-area-inset-left, 0px)) !important; padding-right: max(16px, env(safe-area-inset-right, 0px)) !important; padding-top: 40px !important; padding-bottom: 40px !important; }
  .cs-page > div { padding-top: 16px !important; padding-bottom: 16px !important; }
  .cs-page [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  .cs-page [style*="display: flex"] { flex-wrap: wrap; min-width: 0; }
  .cs-page [style*="width: 360px"] { width: 100% !important; max-width: 360px; }
  .cs-page table { display: block; overflow-x: auto; max-width: 100%; }
  .cs-page h1 { font-size: 34px !important; }
  .cs-page h2 { font-size: 28px !important; }
  .cs-page [style*="font-size: 44px"] { font-size: 32px !important; }
  .cs-page [style*="font-size: 56px"] { font-size: 40px !important; }
  
}