/* Success case showcase (archive-success_case.php) */
.sc-hero {
  background: linear-gradient(135deg, #10494e 0%, #0b2f33 100%);
  color: #fafafa;
  padding: 3.5rem 0 3rem;
}
.sc-hero h1 {
  font-family: 'Oxygen', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.sc-hero .lead {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  opacity: .9;
}
@media (min-width: 768px) {
  .sc-hero h1 { font-size: 3.25rem; }
}

.sc-section { margin: 2.5rem 0; }
.sc-section-title {
  font-family: 'Oxygen', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.sc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.sc-filter {
  border: 1px solid #c9d6d7;
  background: #fff;
  color: #202020;
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .9rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.sc-filter:hover { border-color: #10494e; }
.sc-filter:focus-visible { outline: 3px solid #FF5D38; outline-offset: 2px; }
.sc-filter[aria-pressed="true"] {
  background: #10494e;
  border-color: #10494e;
  color: #fff;
}
.sc-filter-count {
  display: inline-block;
  margin-left: .25rem;
  font-size: .75rem;
  opacity: .7;
}

.sc-item { margin-bottom: 1.5rem; }
.sc-item[hidden] { display: none !important; }
/* Featured cases are shown in their own row until a filter is applied. */
.sc-grid:not(.is-filtered) .sc-item.is-featured { display: none; }

.sc-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e3e9ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(16, 73, 78, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sc-card:hover,
.sc-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(16, 73, 78, .16);
}
.sc-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #202020;
  text-decoration: none;
}
.sc-card-link:hover { color: #202020; text-decoration: none; }
.sc-card-link:focus-visible { outline: 3px solid #FF5D38; outline-offset: -3px; }

.sc-card-media {
  aspect-ratio: 16 / 10;
  background: #f1f4f4;
  overflow: hidden;
}
.sc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.sc-card-media.is-logo { background: #fff; }
.sc-card-media.is-logo img {
  object-fit: contain;
  object-position: center;
  padding: 1rem;
}
.sc-card:hover .sc-card-media img { transform: scale(1.04); }

.sc-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
}
.sc-card .sc-card-client {
  font-family: 'Oxygen', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
  color: #202020;
  margin: 0 0 .25rem;
}
/* Reset blog article styles (indent, fonts) that would otherwise apply to the card. */
.sc-card p,
.sc-card li {
  text-indent: 0;
  font-family: inherit;
}
.sc-card-subtitle {
  font-size: .9rem;
  color: #10494e;
  margin: 0 0 .6rem;
}
.sc-card-summary {
  font-size: .875rem;
  color: #555;
  margin: 0 0 .75rem;
}
.sc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  list-style: none;
  padding: 0;
  margin: auto 0 .75rem;
}
.sc-card-tags li {
  background: #eef4f4;
  color: #10494e;
  border-radius: 4px;
  padding: .15rem .5rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.sc-card-more {
  font-size: .85rem;
  font-weight: 700;
  color: #DB3E1B;
}

.sc-card--featured .sc-card-client { font-size: 1.4rem; }
.sc-card--featured .sc-card-subtitle { font-size: 1rem; }
.sc-card--featured .sc-card-summary { font-size: .95rem; }

.sc-empty {
  text-align: center;
  color: #808080;
  padding: 2rem 0;
}

.sc-cta {
  background: #eef4f4;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  margin: 2rem 0 3rem;
}
.sc-cta h2 {
  font-family: 'Oxygen', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .sc-card,
  .sc-card-media img { transition: none; }
  .sc-card:hover,
  .sc-card:focus-within { transform: none; }
  .sc-card:hover .sc-card-media img { transform: none; }
}
