/**
 * Sound Art shortcode blocks.
 *
 * The /sound-art/ landing page itself is intentionally not styled here. Page
 * layout belongs to Elementor/Gutenberg; this file only scopes the product
 * archive empty state and the optional setup-guide component.
 */

.rcgsm-sound-art-archive,
.rcgsm-sound-art-coming-soon,
.rcgsm-sound-art-guide {
  --rcgsm-sound-art-gutter: clamp(20px, 4vw, 56px);
  box-sizing: border-box;
  width: 100%;
}

.rcgsm-sound-art-archive > .woocommerce,
.rcgsm-sound-art-archive .woocommerce {
  width: 100%;
}

.rcgsm-sound-art-archive ul.products {
  margin-bottom: 0;
}

.rcgsm-sound-art-admin-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--rcg-red, #c74235);
  background: #fff8f5;
}

/* ---- Empty collection ------------------------------------------------- */

.rcgsm-sound-art-coming-soon {
  padding: clamp(16px, 2.5vw, 28px) 0;
}

.rcgsm-sound-art-coming-soon__inner,
.rcgsm-sound-art-guide__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rcgsm-sound-art-coming-soon__inner {
  max-width: 760px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--rcg-line-warm, rgba(36, 50, 74, 0.14));
  border-left: 3px solid var(--rcg-red, #c74235);
  border-radius: 14px;
  background: var(--rcg-warm, #fbf4ef);
  color: var(--rcg-ink, #24324a);
  font-size: 1.02rem;
  line-height: 1.65;
}

.rcgsm-sound-art-coming-soon__inner > :first-child {
  margin-top: 0;
}

.rcgsm-sound-art-coming-soon__actions {
  margin: 18px 0 0;
}

/* ---- Setup guide ------------------------------------------------------ */

.rcgsm-sound-art-guide {
  padding: clamp(36px, 5vw, 72px) var(--rcgsm-sound-art-gutter);
  border: 1px solid var(--rcg-line, rgba(36, 50, 74, 0.12));
  border-radius: 18px;
  background: #fffaf7;
}

.rcgsm-sound-art-guide h2 {
  margin: 0 0 14px;
  color: var(--rcg-ink, #24324a);
  font-family: var(--rcg-heading-font-family, "Libre Baskerville", Georgia, serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
}

.rcgsm-sound-art-guide__intro {
  max-width: 780px;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--rcg-muted, rgba(36, 50, 74, 0.72));
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

.rcgsm-sound-art-guide__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rcgsm-sound-art-guide__step {
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--rcg-line, rgba(36, 50, 74, 0.1));
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 50, 74, 0.05);
}

.rcgsm-sound-art-guide__step-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--rcg-red, #c74235);
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.rcgsm-sound-art-guide__step-content {
  min-width: 0;
}

.rcgsm-sound-art-guide__step-content h3 {
  margin: 4px 0 8px;
  color: var(--rcg-ink, #24324a);
  font-family: var(--rcg-heading-font-family, "Libre Baskerville", Georgia, serif);
  font-size: 1.12rem;
  line-height: 1.3;
}

.rcgsm-sound-art-guide__step-content p {
  margin: 0 0 10px;
  color: var(--rcg-muted, rgba(36, 50, 74, 0.72));
  line-height: 1.65;
}

.rcgsm-sound-art-guide__step-content p:last-child,
.rcgsm-sound-art-guide__footnote p:last-child {
  margin-bottom: 0;
}

.rcgsm-sound-art-guide__footnote {
  max-width: 780px;
  margin: clamp(20px, 2.5vw, 30px) 0 0;
  color: var(--rcg-muted, rgba(36, 50, 74, 0.68));
  font-size: 0.95rem;
  line-height: 1.6;
}

.rcgsm-sound-art-guide__video {
  max-width: 860px;
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.rcgsm-sound-art-guide__video h3 {
  margin: 0 0 12px;
  color: var(--rcg-ink, #24324a);
  font-family: var(--rcg-heading-font-family, "Libre Baskerville", Georgia, serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.25;
}

.rcgsm-sound-art-guide__video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rcg-line, rgba(36, 50, 74, 0.12));
  border-radius: 14px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.rcgsm-sound-art-guide__video-frame iframe,
.rcgsm-sound-art-guide__video-frame video,
.rcgsm-sound-art-guide__video-frame embed,
.rcgsm-sound-art-guide__video-frame object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rcgsm-sound-art-guide__video-caption {
  margin: 10px 0 0;
  color: var(--rcg-muted, rgba(36, 50, 74, 0.68));
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .rcgsm-sound-art-guide {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .rcgsm-sound-art-guide__step {
    flex-direction: column;
  }
}
