/*
 * LVCYW Cooperative Content — section styles.
 *
 * The LVCYW Cooperative theme already defines these rules. This file repeats
 * the essentials so the shortcodes still look correct under another theme, and
 * inside the Pagelayer / block editor preview canvas.
 */

.lvcyw-scope,
body {
  --forest: #123f2c;
  --forest-deep: #08261a;
  --leaf: #24784b;
  --leaf-soft: #e5f1e8;
  --gold: #e7a23a;
  --gold-soft: #fff1d9;
  --cream: #f6f1e5;
  --paper: #fffdf9;
  --ink: #17221b;
  --muted: #5d6a62;
  --line: #dce4de;
  --shadow: 0 22px 64px rgba(8, 38, 26, 0.13);
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 800px;
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cream {
  background: var(--cream);
}

.dark {
  color: #fff;
  background: var(--forest-deep);
}

.dark .eyebrow {
  color: #cbe28d;
}

.dark .lead {
  color: #c0d2c5;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--forest-deep);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-outline {
  border-color: var(--forest);
  color: var(--forest);
  background: transparent;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Numbered step circles are generated by CSS counters. */
.steps {
  counter-reset: lvcyw-step;
}

.step-num::before {
  counter-increment: lvcyw-step;
  content: counter(lvcyw-step);
}

.form-message.show {
  display: block;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-download {
  padding-top: 34px;
  text-align: right;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.profile-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--leaf-soft);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top;
}

.profile-copy {
  padding: 23px;
}

.profile-copy .role {
  color: var(--leaf);
  font-weight: 750;
}

.profile-copy details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-copy summary {
  color: var(--forest);
  font-weight: 750;
  cursor: pointer;
}

.lvcyw-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lvcyw-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(8, 38, 26, 0.08);
}

.lvcyw-gallery-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--leaf-soft); }
.lvcyw-gallery-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.lvcyw-gallery-item figcaption { padding: 16px 18px; color: var(--muted); line-height: 1.55; }
.lvcyw-gallery-empty { padding: 54px 0; text-align: center; color: var(--muted); }

@media (max-width: 600px) {
  .profile-grid {
    grid-template-columns: 1fr !important;
  }
  .lvcyw-gallery-grid { grid-template-columns: 1fr; }
}
