/* ============================================================
   MOOSE — Moose Mood Community sayfası (cm-*)
   Açık gri/beyaz editoryal zemin, keskin köşeli yüzeyler,
   community yeşili vurgu. Butonlar --radius korur.
   ============================================================ */

.cm-page {
  --cm-green: #5b7a3f;
  --cm-green-dark: #4a6533;
  --cm-ink: #171717;
  --cm-muted: #57575a;
  --cm-line: #e3e3e0;
  --cm-soft: #f4f4f2;
  background: #fff;
  color: var(--cm-ink);
  font-family: var(--font-display);
}

.cm-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.cm-eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.cm-eyebrow--dark {
  color: var(--cm-green);
}

/* ── Butonlar ── */
.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 2.85rem;
  padding: 0 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 220ms var(--ease-smooth),
              color 220ms var(--ease-smooth),
              border-color 220ms var(--ease-smooth);
}

.cm-btn--primary {
  background: var(--accent-warm);
  color: #14100c;
  border: 1px solid var(--accent-warm);
}

.cm-btn--primary:hover {
  background: #d68f4e;
  border-color: #d68f4e;
}

.cm-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

/* ── Hero ── */
.cm-hero {
  position: relative;
  min-height: clamp(26rem, 62vh, 40rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cm-hero-media {
  position: absolute;
  inset: 0;
}

.cm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cm-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 16, 0.25) 0%, rgba(20, 26, 16, 0.55) 45%, rgba(35, 47, 24, 0.9) 100%);
}

.cm-hero-content {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--page-gutter) clamp(2.25rem, 5vw, 3.5rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.cm-hero-titlerow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 3rem);
}

.cm-hero-badge {
  flex-shrink: 0;
}

.cm-hero-badge img {
  display: block;
  width: clamp(76px, 8vw, 116px);
  height: clamp(76px, 8vw, 116px);
  padding: 6px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
}

.cm-hero-title {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
}

.cm-hero-desc {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.cm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

/* ── Manifesto ── */
.cm-intro {
  background: var(--cm-soft);
  border-bottom: 1px solid var(--cm-line);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}

.cm-intro-text {
  margin: 0;
  max-width: 78ch;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--cm-ink);
  font-weight: 450;
}

/* ── Bölüm başlıkları ── */
.cm-section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.cm-section--tight {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.cm-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.cm-section-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  max-width: 24ch;
}

/* ── Avantaj kartları ── */
.cm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cm-line);
  border: 1px solid var(--cm-line);
}

.cm-card {
  background: #fff;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: background 240ms var(--ease-smooth);
}

.cm-card:hover {
  background: var(--cm-soft);
}

.cm-card-no {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cm-green);
}

.cm-card-title {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 650;
  line-height: 1.25;
  text-transform: none;
}

.cm-card-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cm-muted);
}

/* ── Puan sistemi split ── */
.cm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--cm-soft);
  border-top: 1px solid var(--cm-line);
  border-bottom: 1px solid var(--cm-line);
}

.cm-split-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  display: block;
}

.cm-split-body {
  padding: clamp(2rem, 4.5vw, 3.75rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}

.cm-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cm-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.cm-step-no {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--cm-green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.cm-step-title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 650;
  text-transform: none;
}

.cm-step-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--cm-muted);
}

/* ── Aktivite şeridi ── */
.cm-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1px;
  background: var(--cm-line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.cm-strip-item {
  position: relative;
  display: block;
  margin: 0;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
}

.cm-strip-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.cm-strip-item:hover img {
  transform: scale(1.04);
}

.cm-strip-item figcaption,
.cm-strip-item .cm-strip-caption {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Puan & indirim aritmetiği ── */
.cm-section-sub {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cm-muted);
  max-width: 60ch;
}

.cm-points {
  background: var(--cm-soft);
  border-top: 1px solid var(--cm-line);
  border-bottom: 1px solid var(--cm-line);
}

.cm-points-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.cm-points-note {
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  padding: 0.85rem 1.2rem;
  background: #fff;
  border: 1px solid var(--cm-line);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--cm-muted);
}

.cm-points-note strong {
  color: var(--cm-ink);
}

.cm-panel {
  background: #fff;
  border: 1px solid var(--cm-line);
  padding: clamp(1.35rem, 2.4vw, 2rem);
}

.cm-panel-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 650;
  text-transform: none;
}

.cm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cm-table th {
  text-align: left;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--cm-line);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cm-muted);
}

.cm-table th:last-child,
.cm-table td:last-child {
  text-align: right;
}

.cm-table td {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--cm-line);
  color: var(--cm-ink);
  line-height: 1.4;
}

.cm-table tr:last-child td {
  border-bottom: 0;
}

.cm-num {
  font-weight: 700;
  color: var(--cm-green);
  white-space: nowrap;
}

.cm-table-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--cm-muted);
}

.cm-example {
  padding-top: 0.9rem;
  border-top: 1px solid var(--cm-line);
}

.cm-example strong {
  color: var(--cm-ink);
}

/* Seviye grafiği */
.cm-chart {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.cm-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.cm-chart-name {
  font-size: 0.92rem;
  font-weight: 650;
}

.cm-chart-name small {
  font-weight: 450;
  color: var(--cm-muted);
}

.cm-chart-min {
  font-size: 0.78rem;
  color: var(--cm-muted);
  white-space: nowrap;
}

.cm-chart-track {
  height: 30px;
  background: var(--cm-soft);
  border: 1px solid var(--cm-line);
}

.cm-chart-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.6rem;
  min-width: 3.2rem;
}

.cm-chart-scope {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--cm-muted);
}

.cm-chart-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .cm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cm-split {
    grid-template-columns: 1fr;
  }

  .cm-points-layout {
    grid-template-columns: 1fr;
  }

  .cm-split-media img {
    min-height: 16rem;
    max-height: 22rem;
  }
}

/* ── Mobil ── */
@media (max-width: 640px) {
  .cm-hero {
    min-height: clamp(22rem, 70vh, 32rem);
  }

  .cm-hero-titlerow {
    gap: 0.9rem;
  }

  .cm-hero-badge img {
    width: 62px;
    height: 62px;
  }

  .cm-hero-actions {
    width: 100%;
  }

  .cm-hero-actions .cm-btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .cm-grid {
    grid-template-columns: 1fr;
  }

  .cm-strip {
    grid-auto-columns: minmax(200px, 74%);
  }
}

/* ── Program şartları (seviye oranlarının değişebilirliği dahil) ── */
.cm-terms {
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--cm-line);
}

/* İki sütunun altında tam genişlik Program şartları şeridi */
.cm-terms--full {
  margin-top: 1rem;
  padding: 0.85rem 1.2rem 1rem;
  background: #fff;
  border: 1px solid var(--cm-line);
}

.cm-terms-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cm-muted);
}

.cm-terms-list {
  margin: 0;
  padding-left: 1.05rem;
  list-style: disc;
}

.cm-terms-list li {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--cm-muted);
}

.cm-terms-list li:last-child {
  margin-bottom: 0;
}
