/*
  The Sign Catalog 2 (page: /the-sign-catalog-2/)
  Premium, photo-forward category tiles.
*/

.sc2-home {
  --sc2-border: rgba(15, 23, 42, 0.10);
  --sc2-border-hover: rgba(0, 86, 179, 0.22);
  --sc2-shadow: 0 14px 40px rgba(2, 6, 23, 0.10);
  --sc2-shadow-hover: 0 20px 56px rgba(2, 6, 23, 0.14);
}

/* Override generic page padding so this landing page controls rhythm */
body.page-the-sign-catalog-2 .page-content { padding: 0; }
body.page-the-sign-catalog-2 .page-content-inner { margin-top: 0; }

.sc2-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
}

.sc2-section { padding: 72px 0; }

.sc2-section-header { margin-bottom: 22px; }
.sc2-section-header h2 {
  margin: 0 0 8px;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.sc2-section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

/* Hero (kept clean, theme-native) */
.sc2-hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(950px 460px at 12% 18%, rgba(0, 86, 179, 0.18), transparent 60%),
    radial-gradient(950px 460px at 88% 10%, rgba(255, 107, 0, 0.10), transparent 62%),
    linear-gradient(180deg, #ffffff, #f5f7fb);
}

.sc2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.sc2-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.0rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0b1220;
}

.sc2-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 60ch;
}

.sc2-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 22px;
}

.sc2-trustbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.sc2-trust {
  background: #fff;
  border: 1px solid var(--sc2-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.sc2-trust-big {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.sc2-trust-small {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.25;
}

/* Right hero card (premium “proof”) */
.sc2-hero-card {
  background: #fff;
  border: 1px solid var(--sc2-border);
  border-radius: 16px;
  box-shadow: var(--sc2-shadow);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.sc2-hero-card-top {
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.10), rgba(0, 86, 179, 0.03));
  padding: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sc2-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 86, 179, 0.10);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
}

.sc2-hero-card-body { padding: 16px; }

.sc2-hero-card-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.06);
  margin-bottom: 10px;
}
.sc2-w-80 { width: 80%; }
.sc2-w-60 { width: 60%; }
.sc2-hero-card-spacer { height: 10px; }

.sc2-hero-card-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.sc2-kpi {
  border: 1px solid var(--sc2-border);
  border-radius: 12px;
  padding: 12px;
}

.sc2-kpi-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sc2-kpi-value {
  font-weight: 800;
  color: #0b1220;
  font-size: 0.98rem;
}

/* Shop by Material Type: premium product tiles */
.sc2-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.sc2-material-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sc2-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  min-height: 320px;
}

.sc2-material-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sc2-shadow-hover);
  border-color: var(--sc2-border-hover);
}

.sc2-material-media {
  position: relative;
  height: 140px;
  background: #0f172a;
}

.sc2-material-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.sc2-material-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.42));
  pointer-events: none;
}

.sc2-media-fallback {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
}

.sc2-media-fallback img {
  object-fit: contain;
  padding: 22px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

.sc2-material-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sc2-material-body h3 {
  margin: 0;
  color: #0b1220;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.sc2-material-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sc2-material-cta {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sc2-material-card:focus-visible {
  outline: 3px solid rgba(255, 158, 27, 0.65);
  outline-offset: 3px;
  border-radius: 18px;
}

/* Responsive */
@media (max-width: 980px) {
  .sc2-hero-grid { grid-template-columns: 1fr; }
  .sc2-trustbar { grid-template-columns: 1fr; }
  .sc2-materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .sc2-section { padding: 56px 0; }
  .sc2-materials-grid { grid-template-columns: 1fr; }
}
