/* scconstruction/style-showcase — CSS prefix --ss- */

:root {
  --ss-serif:    var(--wp--preset--font-family--hedvig-letters-serif-regular, Georgia, serif);
  --ss-sans:     var(--wp--preset--font-family--work-sans-regular, sans-serif);
  --ss-body:     var(--wp--preset--font-family--inter, sans-serif);
  --ss-mono:     "SF Mono", ui-monospace, Menlo, monospace;
  --ss-ink:      #242925;
  --ss-coffee-05:var(--ink-blue);
  --ss-coffee-03:#99876B;
  --ss-chalk-01: #FBFBF6;
  --ss-paper:    #f3f3f3;
  --ss-line:     #D9D9CC;
  --ss-wide:     1200px;
  --ss-radius-lg:16px;
}

.wp-block-scconstruction-style-showcase {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
  padding: 5rem 0;
}
.wp-block-scconstruction-style-showcase.ss-bg-chalk { background: var(--ss-chalk-01); }
.wp-block-scconstruction-style-showcase.ss-bg-paper { background: var(--ss-paper); }
.wp-block-scconstruction-style-showcase.ss-bg-white { background: #fff; }

.wp-block-scconstruction-style-showcase .ss-wrap {
  max-width: var(--ss-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 2rem);
}
.wp-block-scconstruction-style-showcase .ss-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.wp-block-scconstruction-style-showcase .ss-eyebrow {
  font-family: var(--ss-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ss-coffee-03);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: 0.8rem;
  justify-content: center;
}
.wp-block-scconstruction-style-showcase .ss-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.wp-block-scconstruction-style-showcase .ss-heading {
  font-family: var(--ss-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 auto 1rem;
  max-width: 22ch;
  letter-spacing: -0.005em;
  color: var(--ss-ink);
}
.wp-block-scconstruction-style-showcase .ss-intro {
  font-family: var(--ss-body);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ss-coffee-03);
  margin: 0 auto;
  max-width: 56ch;
}

/* Grid */
.wp-block-scconstruction-style-showcase .ss-grid {
  display: grid; gap: 1.5rem;
}
.wp-block-scconstruction-style-showcase.ss-cols-2 .ss-grid { grid-template-columns: repeat(2, 1fr); }
.wp-block-scconstruction-style-showcase.ss-cols-3 .ss-grid { grid-template-columns: repeat(3, 1fr); }
.wp-block-scconstruction-style-showcase.ss-cols-4 .ss-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .wp-block-scconstruction-style-showcase.ss-cols-3 .ss-grid,
  .wp-block-scconstruction-style-showcase.ss-cols-4 .ss-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wp-block-scconstruction-style-showcase .ss-grid { grid-template-columns: 1fr !important; }
}

/* Card */
.wp-block-scconstruction-style-showcase .ss-card {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.wp-block-scconstruction-style-showcase .ss-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -10px rgba(38, 28, 10, 0.18);
}

.wp-block-scconstruction-style-showcase .ss-img,
.wp-block-scconstruction-style-showcase .img-ph {
  width: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
}
.wp-block-scconstruction-style-showcase .ratio-43 { aspect-ratio: 4 / 3; }

/* Placeholder styling (shared) */
.wp-block-scconstruction-style-showcase .img-ph {
  position: relative;
  background: var(--ss-coffee-05);
  color: rgba(255, 255, 255, 0.85);
}
.wp-block-scconstruction-style-showcase .img-ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38,28,10,0.20) 0%, rgba(38,28,10,0.55) 100%),
    repeating-linear-gradient(135deg, #4a4033 0 14px, #413729 14px 28px);
}
.wp-block-scconstruction-style-showcase .img-ph::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 70% 20%, rgba(255, 217, 68, 0.06) 0%, transparent 55%),
    radial-gradient(100% 80% at 10% 90%, rgba(38, 28, 10, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.wp-block-scconstruction-style-showcase .img-ph .ph-label {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--ss-mono); font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(251, 251, 246, 0.92);
  color: var(--ss-coffee-05);
  padding: 0.4rem 0.65rem;
  border-radius: 4px; z-index: 1;
  max-width: calc(100% - 2rem);
}
.wp-block-scconstruction-style-showcase .img-ph .ph-num {
  position: absolute; right: 1rem; top: 1rem;
  font-family: var(--ss-sans); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  z-index: 1;
}

.wp-block-scconstruction-style-showcase .ss-body {
  padding: 1.4rem 1.5rem 1.65rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.wp-block-scconstruction-style-showcase .ss-card h3 {
  font-family: var(--ss-serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ss-ink);
  margin: 0;
}
.wp-block-scconstruction-style-showcase .ss-desc {
  font-family: var(--ss-body);
  font-size: 0.98rem;
  line-height: 1.55;
  color: #3a3530;
  margin: 0;
}
.wp-block-scconstruction-style-showcase .ss-ideal {
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ss-line);
  font-family: var(--ss-sans);
  font-size: 0.82rem;
  color: var(--ss-coffee-03);
  line-height: 1.5;
}
.wp-block-scconstruction-style-showcase .ss-lbl {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ss-coffee-05);
  display: block;
  margin-bottom: 0.15rem;
}
