/* Purified Core Minimal - Frontend CSS (minimal + theme-agnostic) */

.pcm-form-wrap { max-width: 720px; }
.pcm-form { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; }
.pcm-field label { display: grid; gap: 6px; font-weight: 600; }
.pcm-field input, .pcm-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  background: transparent;
}
.pcm-field input:focus, .pcm-field textarea:focus,
.pcm-btn:focus, .pcm-hero-nav:focus, .pcm-dot:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.pcm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pcm-notice { padding: 10px 12px; border-radius: 10px; }
.pcm-success { border: 1px solid rgba(0,128,0,.25); }
.pcm-error { border: 1px solid rgba(180,0,0,.25); }

.pcm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  background: transparent;
}
.pcm-btn:hover { text-decoration: none; }
.pcm-btn-secondary { border-width: 2px; }

.pcm-hero-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}

.pcm-hero-content {
  position: relative;
  padding: 42px 22px;
  max-width: 980px;
}
.pcm-eyebrow { letter-spacing: .08em; text-transform: uppercase; font-weight: 700; opacity: .95; }
.pcm-hero-heading { margin: 10px 0 8px; line-height: 1.1; }
.pcm-hero-subtitle { margin: 0 0 18px; opacity: .95; max-width: 60ch; }

.pcm-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
}
.pcm-hero-nav:hover { text-decoration: none; }
.pcm-prev { left: 12px; }
.pcm-next { right: 12px; }
.pcm-hero-nav span { font-size: 26px; line-height: 1; }

.pcm-hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
}
.pcm-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.25);
  cursor: pointer;
}
.pcm-dot.is-active { background: rgba(255,255,255,.9); }

/* Scrollspy helper class */
.pcm-scrollspy-active { font-weight: 800; text-decoration: none !important; }

/* Editor placeholder */
.pcm-block-placeholder {
  padding: 16px;
  border: 1px dashed rgba(0,0,0,.25);
  border-radius: 12px;
}

.pcm-eyebrow { color: var(--pcm-eyebrow-color, #fff); }
.pcm-hero-heading { color: var(--pcm-heading-color, #fff); }
.pcm-hero-subtitle { color: var(--pcm-subtitle-color, #fff); }

.pcm-btn-secondary { color: var(--pcm-button-color, #fff); }

/* Slider wrapper */
.pcm-hero-slider {
  position: relative;
  overflow: hidden; /* prevents vertical stacking from showing */
}

/* Track that moves left/right */
.pcm-hero-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transform: translateX(0);
  transition: transform 400ms ease;
  will-change: transform;
}

/* Each slide takes full width */
.pcm-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: var(--pcm-hero-height, 60vh);
  position: relative;
  background-size: cover;
  background-position: center;
}
.pcm-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcm-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1;
}

.pcm-hero-content {
  position: relative;
  z-index: 2;
}

/* Content box sizing */
.pcm-hero-content {
  max-width: var(--pcm-content-width, 980px);
}

/* Font sizes controlled by CSS vars */
.pcm-hero-content { max-width: var(--pcm-content-width, 980px); }
.pcm-eyebrow { font-size: var(--pcm-eyebrow-fs, 14px); }
.pcm-hero-heading { font-size: var(--pcm-heading-fs, 44px); }
.pcm-hero-subtitle { font-size: var(--pcm-subtitle-fs, 18px); }
.pcm-btn { font-size: var(--pcm-button-fs, 15px); }

/* Positioning: make slide a flex container */
.pcm-hero-slide {
  display: flex;
  padding: 24px;
}

/* Default (center-left) */
.pcm-pos-center-left .pcm-hero-slide { align-items: center; justify-content: flex-start; text-align: left; }

/* 9 positions */
.pcm-pos-top-left .pcm-hero-slide { align-items: flex-start; justify-content: flex-start; text-align:left; }
.pcm-pos-top-center .pcm-hero-slide { align-items: flex-start; justify-content: center; text-align:center; }
.pcm-pos-top-right .pcm-hero-slide { align-items: flex-start; justify-content: flex-end; text-align:right; }

.pcm-pos-center .pcm-hero-slide { align-items: center; justify-content: center; text-align:center; }
.pcm-pos-center-right .pcm-hero-slide { align-items: center; justify-content: flex-end; text-align:right; }

.pcm-pos-bottom-left .pcm-hero-slide { align-items: flex-end; justify-content: flex-start; text-align:left; }
.pcm-pos-bottom-center .pcm-hero-slide { align-items: flex-end; justify-content: center; text-align:center; }
.pcm-pos-bottom-right .pcm-hero-slide { align-items: flex-end; justify-content: flex-end; text-align:right; }

.pcm-hero-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
