/* ── Ebeveyn Platformu — toprak / haki / zümrüt ── */
.ebeveyn-platform {
  --ep-earth: #8b7355;
  --ep-khaki: #a89f7c;
  --ep-emerald: #2d6a4f;
  --ep-emerald-mid: #40916c;
  --ep-sage: #74a57f;
  --ep-moss: #1b4332;
  --ep-cream: rgba(168, 159, 124, 0.12);
  --ep-border: rgba(64, 145, 108, 0.28);
  --ep-glow: 0 8px 32px rgba(45, 106, 79, 0.18);

  padding: 11rem 6% 6rem;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

.ebeveyn-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(45, 106, 79, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(139, 115, 85, 0.16), transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 0;
}

.ebeveyn-platform > * {
  position: relative;
  z-index: 1;
}

.ep-hero {
  margin-bottom: 1.6rem;
}

.ep-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ep-emerald-mid);
  margin-bottom: 0.6rem;
}

.ep-eyebrow svg {
  width: 1.4rem;
  height: 1.4rem;
}

.ep-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.ep-hero h1 .accent {
  color: var(--ep-emerald-mid);
}

.ep-hero-lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ep-ink-soft, #4a5a4f);
  font-weight: 500;
}

.ep-shell {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* ── Pedagoji: büyük dergi kartları, yazı kısmen görünür ── */
.ep-pedagogy {
  position: relative;
  z-index: 2;
}

.ep-pedagogy.is-paused {
  z-index: 5000;
}

.ep-pedagogy-bar {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--ep-sage);
}

.ep-pedagogy-bar svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--ep-emerald-mid);
  align-self: center;
}

.ep-pedagogy-bar em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.ep-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.ep-chip {
  --ep-chip-fade: rgba(18, 28, 22, 0.98);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 1.7rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-primary);
  color: var(--text-primary);
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.ep-chip.tone-emerald {
  --ep-chip-fade: #163528;
  background: linear-gradient(165deg, rgba(45, 106, 79, 0.72), rgba(20, 36, 28, 0.92));
  border-color: rgba(64, 145, 108, 0.5);
}
.ep-chip.tone-earth {
  --ep-chip-fade: #2a2318;
  background: linear-gradient(165deg, rgba(139, 115, 85, 0.68), rgba(32, 26, 18, 0.92));
  border-color: rgba(168, 159, 124, 0.45);
}
.ep-chip.tone-khaki {
  --ep-chip-fade: #27261c;
  background: linear-gradient(165deg, rgba(168, 159, 124, 0.55), rgba(28, 30, 22, 0.92));
  border-color: rgba(168, 159, 124, 0.5);
}
.ep-chip.tone-sage {
  --ep-chip-fade: #1b2c20;
  background: linear-gradient(165deg, rgba(116, 165, 127, 0.55), rgba(18, 32, 24, 0.92));
  border-color: rgba(116, 165, 127, 0.5);
}
.ep-chip.tone-moss {
  --ep-chip-fade: #10241c;
  background: linear-gradient(165deg, rgba(27, 67, 50, 0.78), rgba(12, 22, 18, 0.94));
  border-color: rgba(64, 145, 108, 0.45);
}

.ep-chip:hover,
.ep-chip.is-active {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.ep-chip--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 28rem;
}

.ep-chip-icon {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #dff5e8;
  margin: 1.2rem 1.4rem 0;
}

.ep-chip-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 12.5rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.ep-chip--featured .ep-chip-cover {
  aspect-ratio: auto;
  max-height: none;
  min-height: 100%;
}

.ep-chip-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ep-chip:hover .ep-chip-cover img {
  transform: scale(1.05);
}

.ep-chip-icon svg {
  width: 2.1rem;
  height: 2.1rem;
  stroke-width: 1.75;
}

.ep-chip-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.15rem 1.35rem 1.25rem;
  flex: 1 0 auto;
  min-width: 0;
}

.ep-chip--featured .ep-chip-copy {
  padding: 1.7rem 1.8rem 1.6rem;
  justify-content: center;
}

.ep-chip-tag {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8e6d0;
}

.ep-chip-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ep-chip--featured .ep-chip-title {
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
}

.ep-chip-lead {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
  color: rgba(232, 240, 234, 0.78);
  font-weight: 550;
}

.ep-chip-excerpt-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 9.6rem;
  overflow: hidden;
}

.ep-chip-excerpt {
  font-size: 1.22rem;
  line-height: 1.62;
  color: rgba(244, 248, 245, 0.92);
  margin: 0;
}

.ep-chip-excerpt-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.4rem;
  background: linear-gradient(180deg, transparent, var(--ep-chip-fade));
  pointer-events: none;
}

.ep-chip-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  font-size: 1.08rem;
  color: rgba(220, 230, 222, 0.72);
  margin-top: 0.35rem;
}

.ep-chip-meta svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ep-chip-meta em {
  font-style: normal;
  font-weight: 700;
  color: #e8f6ec;
  margin-left: 0.2rem;
}

.ep-chip-meta em::after {
  content: " →";
}

[data-theme="light"] .ep-chip.tone-emerald {
  --ep-chip-fade: #e7f3ea;
  background: linear-gradient(165deg, #d8efe0, #e7f3ea);
}
[data-theme="light"] .ep-chip.tone-earth {
  --ep-chip-fade: #f3eee4;
  background: linear-gradient(165deg, #efe4d2, #f3eee4);
}
[data-theme="light"] .ep-chip.tone-khaki {
  --ep-chip-fade: #f2f0e4;
  background: linear-gradient(165deg, #efe9cc, #f2f0e4);
}
[data-theme="light"] .ep-chip.tone-sage {
  --ep-chip-fade: #e8f2ea;
  background: linear-gradient(165deg, #d7eadc, #e8f2ea);
}
[data-theme="light"] .ep-chip.tone-moss {
  --ep-chip-fade: #e4f0e8;
  background: linear-gradient(165deg, #cfe4d6, #e4f0e8);
}

[data-theme="light"] .ep-chip-tag {
  color: var(--ep-emerald);
}

[data-theme="light"] .ep-chip-lead {
  color: #4a574e;
}

[data-theme="light"] .ep-chip-excerpt {
  color: #243028;
}

[data-theme="light"] .ep-chip-meta {
  color: #5a6b60;
}

[data-theme="light"] .ep-chip-meta em {
  color: var(--ep-emerald);
}

/* Modal pencere — kart destesi */
.ep-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 8, 6, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  animation: ep-fade-in 0.25s ease;
}

.ep-modal-stage {
  position: relative;
  width: min(42rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: min(92vh, 900px);
}

.ep-modal-deck {
  position: relative;
  width: 100%;
  height: min(78vh, 740px);
  border-radius: 1.6rem;
  overflow: hidden;
}

.ep-modal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid #2a3d32;
  background: #101a15;
  background-image: none;
  opacity: 1;
  isolation: isolate;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.65);
}

.ep-modal.is-base {
  z-index: 0;
  /* Alttaki kart da kıpırdamaz — sadece örtülür */
  transform: none !important;
  animation: none !important;
  transition: none !important;
  pointer-events: none;
}

.ep-modal.is-current {
  z-index: 1;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

.ep-modal.is-incoming {
  z-index: 3;
  transform: translateY(104%);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  will-change: transform;
  /* both: ilk kareden itibaren from uygulanır — ekstra is-enter yok */
  animation: ep-modal-rise 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ep-modal.is-incoming.is-enter {
  /* geriye uyumluluk; asıl animasyon .is-incoming'de */
  animation: ep-modal-rise 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ep-modal-rise {
  from { transform: translateY(104%); }
  to { transform: translateY(0); }
}

[data-theme="light"] .ep-modal {
  background: #f3f7f1;
  border-color: #c5d4c4;
}

.ep-modal.tone-emerald,
.ep-modal.tone-earth,
.ep-modal.tone-khaki,
.ep-modal.tone-sage,
.ep-modal.tone-moss {
  background: #101a15;
  background-image: none;
  opacity: 1;
}

[data-theme="light"] .ep-modal.tone-emerald,
[data-theme="light"] .ep-modal.tone-earth,
[data-theme="light"] .ep-modal.tone-khaki,
[data-theme="light"] .ep-modal.tone-sage,
[data-theme="light"] .ep-modal.tone-moss {
  background: #f3f7f1;
}

.ep-modal.tone-emerald { border-color: #3d8f6a; }
.ep-modal.tone-earth { border-color: #a89f7c; }
.ep-modal.tone-khaki { border-color: #9a9168; }
.ep-modal.tone-sage { border-color: #74a57f; }
.ep-modal.tone-moss { border-color: #40916c; }

.ep-modal-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.1rem, 3.5vw, 1.85rem);
  padding-top: clamp(1.35rem, 4vw, 2rem);
  scrollbar-gutter: stable;
  touch-action: pan-y;
}

.ep-modal-scroll::-webkit-scrollbar {
  width: 8px;
}
.ep-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(116, 165, 127, 0.45);
  border-radius: 999px;
}
.ep-modal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.ep-modal-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  border-radius: 1.15rem;
  overflow: hidden;
  margin: 0 0 1.15rem;
  background: #1a2820;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ep-modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

[data-theme="light"] .ep-modal-cover {
  background: #e4ebe2;
  border-color: rgba(0, 0, 0, 0.06);
}

.ep-modal-head {
  margin-bottom: 0.85rem;
}

.ep-modal-head .ep-chip-tag {
  padding: 0;
}

.ep-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 3.4rem;
  height: 3.4rem;
  border: none;
  border-radius: 999px;
  background: rgba(8, 14, 11, 0.88);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.ep-modal-close svg {
  width: 1.7rem;
  height: 1.7rem;
}

.ep-modal h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.05rem);
  line-height: 1.25;
  margin: 0.4rem 0 0;
  padding-right: 2.5rem;
}

.ep-modal-body {
  font-size: clamp(1.05rem, 2.8vw, 1.22rem);
  line-height: 1.72;
  color: var(--text-secondary);
  margin: 0 0 1.4rem;
}

.ep-modal-body p {
  margin: 0 0 1.05em;
}

.ep-modal-body p:last-child {
  margin-bottom: 0;
}

.ep-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(116, 165, 127, 0.18);
  margin-top: 0.25rem;
}

.ep-modal-swipe-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.ep-modal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 4;
}

.ep-modal-navbtn {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(116, 165, 127, 0.35);
  border-radius: 999px;
  background: rgba(16, 26, 21, 0.92);
  color: #dff5e8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ep-modal-navbtn svg {
  width: 1.55rem;
  height: 1.55rem;
}

.ep-modal-navbtn:hover {
  border-color: #74a57f;
  background: rgba(45, 106, 79, 0.45);
}

.ep-modal-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.ep-modal-dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  display: block;
  transition: width 0.2s ease, background 0.2s ease;
}

.ep-modal-dots i.is-on {
  width: 1.35rem;
  background: #74a57f;
}

@keyframes ep-modal-rise {
  from { transform: translateY(104%); }
  to { transform: translateY(0); }
}

@keyframes ep-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Hub: kompakt renkli seçim ── */
.ep-hub {
  margin: 0;
  position: relative;
  z-index: 1;
}

.ep-hub-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 650;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.ep-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .ep-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ep-hub-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-primary);
  color: var(--text-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 0;
}

.ep-hub-tile.tone-emerald {
  background: linear-gradient(165deg, rgba(45, 106, 79, 0.55), rgba(16, 26, 21, 0.92));
  border-color: rgba(64, 145, 108, 0.4);
}
.ep-hub-tile.tone-earth {
  background: linear-gradient(165deg, rgba(139, 115, 85, 0.5), rgba(16, 26, 21, 0.92));
  border-color: rgba(168, 159, 124, 0.4);
}
.ep-hub-tile.tone-khaki {
  background: linear-gradient(165deg, rgba(168, 159, 124, 0.42), rgba(16, 26, 21, 0.92));
  border-color: rgba(168, 159, 124, 0.42);
}

.ep-hub-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--ep-glow);
}

.ep-hub-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.ep-hub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ep-hub-tile:hover .ep-hub-cover img {
  transform: scale(1.04);
}

.ep-hub-icon {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 11, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e8fff0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ep-hub-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 1.7;
}

.ep-hub-body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.55rem;
  padding: 1.05rem 1.15rem 1.2rem;
}

.ep-hub-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
  grid-column: 1;
}

.ep-hub-text strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
}

.ep-hub-ticker {
  display: block;
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.35;
  min-height: 1.7em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ep-hub-ticker.is-in {
  opacity: 1;
  transform: translateY(0);
}

.ep-hub-ticker.is-out {
  opacity: 0;
  transform: translateY(6px);
}

.ep-hub-cta {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: var(--ep-sage);
  opacity: 0.85;
}

.ep-hub-cta svg {
  width: 1.8rem;
  height: 1.8rem;
}

.ep-context-chip--tile {
  grid-column: 1 / -1;
  justify-self: start;
}

.ep-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: ep-fade-in 0.35s ease;
}

.ep-back {
  align-self: flex-start;
}

.ep-subhead {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--ep-khaki);
}

.ep-recipe {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--ep-border);
  background: rgba(45, 106, 79, 0.12);
  margin-bottom: 0.5rem;
}

.ep-recipe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ep-sage);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.ep-recipe-badge svg {
  width: 1.4rem;
  height: 1.4rem;
}

.ep-recipe h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.ep-recipe-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.ep-recipe-meta svg {
  width: 1.3rem;
  height: 1.3rem;
}

.ep-recipe > p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ep-recipe-steps {
  margin: 0;
  padding-left: 1.8rem;
  font-size: 1.4rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.ep-recipe-steps li {
  margin-bottom: 0.45rem;
}

.ep-card--coach,
.ep-card--mizac,
.ep-card--beslenme {
  width: 100%;
}
.ep-card {
  background: var(--bg-card);
  border: 1px solid var(--ep-border);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-fast), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ep-card:hover {
  border-color: rgba(64, 145, 108, 0.45);
  box-shadow: var(--ep-glow);
}

.ep-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.ep-icon {
  flex-shrink: 0;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(45, 106, 79, 0.35), rgba(139, 115, 85, 0.2));
  color: var(--ep-sage);
  border: 1px solid var(--ep-border);
}

.ep-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke-width: 1.75;
}

.ep-card-head h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.ep-card-head p {
  font-size: 1.35rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Coach chat */
.ep-coach-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 42rem;
  gap: 1.2rem;
}

.ep-disclaimer {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  background: rgba(139, 115, 85, 0.12);
  border: 1px solid rgba(139, 115, 85, 0.28);
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.ep-disclaimer svg {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--ep-khaki);
  margin-top: 0.15rem;
}

.ep-context-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 550;
  background: rgba(45, 106, 79, 0.22);
  color: var(--ep-sage);
  border: 1px solid var(--ep-border);
}

.ep-context-chip svg {
  width: 1.4rem;
  height: 1.4rem;
}

.ep-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0.4rem 0.2rem;
  max-height: 36rem;
  min-height: 22rem;
}

.ep-msg {
  max-width: 92%;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1.45rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.ep-msg--assistant {
  align-self: flex-start;
  background: rgba(45, 106, 79, 0.18);
  border: 1px solid var(--ep-border);
  color: var(--text-primary);
}

.ep-msg--user {
  align-self: flex-end;
  background: rgba(139, 115, 85, 0.22);
  border: 1px solid rgba(139, 115, 85, 0.35);
}

.ep-msg--error {
  align-self: stretch;
  max-width: 100%;
  background: rgba(180, 60, 60, 0.12);
  border: 1px solid rgba(180, 60, 60, 0.3);
  color: var(--text-secondary);
  font-size: 1.3rem;
}

.ep-typing {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.4rem 0;
}

.ep-typing span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ep-sage);
  animation: ep-bounce 1.2s infinite ease-in-out;
}

.ep-typing span:nth-child(2) { animation-delay: 0.15s; }
.ep-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ep-bounce {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.ep-compose {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
}

.ep-compose textarea {
  flex: 1;
  resize: none;
  min-height: 5.2rem;
  max-height: 12rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ep-border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1.45rem;
  line-height: 1.45;
  outline: none;
  transition: border-color var(--transition-fast);
}

.ep-compose textarea:focus {
  border-color: var(--ep-emerald-mid);
}

.ep-compose textarea::placeholder {
  color: var(--text-muted);
}

.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ep-btn svg {
  width: 1.7rem;
  height: 1.7rem;
}

.ep-btn--primary {
  background: linear-gradient(135deg, var(--ep-emerald) 0%, var(--ep-emerald-mid) 100%);
  color: #f4fff8;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.35);
}

.ep-btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(45, 106, 79, 0.45);
}

.ep-btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ep-btn--ghost {
  background: transparent;
  color: var(--ep-sage);
  border: 1px solid var(--ep-border);
}

.ep-btn--ghost:hover {
  background: rgba(45, 106, 79, 0.12);
}

.ep-btn--send {
  align-self: flex-end;
  min-width: 5.2rem;
  min-height: 5.2rem;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Temperament */
.ep-progress {
  height: 0.4rem;
  background: rgba(168, 159, 124, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.ep-progress > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ep-earth), var(--ep-emerald-mid));
  border-radius: inherit;
  transition: width 0.35s ease;
}

.ep-q-meta {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.ep-question {
  font-size: 1.55rem;
  font-weight: 550;
  margin-bottom: 1.4rem;
  line-height: 1.45;
}

.ep-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ep-option {
  text-align: left;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ep-border);
  background: rgba(45, 106, 79, 0.06);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1.4rem;
  line-height: 1.4;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ep-option:hover {
  border-color: var(--ep-emerald-mid);
  background: rgba(45, 106, 79, 0.16);
}

.ep-result {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ep-result-type {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ep-emerald-mid);
  font-weight: 650;
}

.ep-result p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.ep-score-bars {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ep-score-row {
  display: grid;
  grid-template-columns: 11rem 1fr 3rem;
  gap: 0.8rem;
  align-items: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.ep-score-track {
  height: 0.55rem;
  background: rgba(168, 159, 124, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.ep-score-track > i {
  display: block;
  height: 100%;
  background: var(--ep-emerald-mid);
  border-radius: inherit;
}

/* Nutrition */
.ep-nutrition-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.ep-nutrition-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: stretch;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .ep-nutrition-item {
  background: rgba(0, 0, 0, 0.03);
}

.ep-nut-side {
  font-size: 1.3rem;
  line-height: 1.4;
}

.ep-nut-side strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.ep-nut-side--bad strong { color: #c17a5a; }
.ep-nut-side--good strong { color: var(--ep-emerald-mid); }

.ep-nut-side svg {
  width: 1.35rem;
  height: 1.35rem;
}

.ep-nut-arrow {
  display: flex;
  align-items: center;
  color: var(--ep-khaki);
  opacity: 0.7;
}

.ep-nut-arrow svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* Blog tags / meta (rail + detail) */
.ep-blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ep-khaki);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ep-blog-tag svg {
  width: 1.3rem;
  height: 1.3rem;
}

.ep-blog-meta {
  font-size: 1.2rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ep-blog-meta svg {
  width: 1.3rem;
  height: 1.3rem;
}

.ep-empty {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 1rem 0;
}

@media (max-width: 600px) {
  .ebeveyn-platform {
    padding: 9.5rem 4% 4rem;
  }

  .ep-blog-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .ep-chip,
  .ep-chip--featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ep-chip--featured .ep-chip-cover {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .ep-chip-title {
    font-size: 1.7rem;
  }

  .ep-chip--featured .ep-chip-title {
    font-size: 2rem;
  }

  .ep-chip-excerpt-wrap {
    min-height: 7.2rem;
  }

  .ep-rail-detail {
    margin-left: 4%;
    margin-right: 4%;
    flex-direction: column;
  }

  .ep-hub-cta {
    display: none;
  }

  .ep-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .ep-modal-stage {
    width: 100%;
    max-height: 94vh;
    gap: 0.65rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .ep-modal-deck {
    height: min(78vh, 680px);
    border-radius: 1.35rem 1.35rem 0.9rem 0.9rem;
  }

  .ep-modal {
    border-radius: 1.35rem 1.35rem 0.9rem 0.9rem;
  }

  .ep-modal-scroll {
    padding: 1.15rem 1.15rem 1.25rem;
  }

  .ep-modal-cover {
    max-height: 160px;
    border-radius: 1rem;
    margin-bottom: 1rem;
  }

  .ep-modal-close {
    top: 0.7rem;
    right: 0.7rem;
    width: 3.1rem;
    height: 3.1rem;
  }

  .ep-modal-controls {
    padding: 0 0.75rem 0.55rem;
  }

  .ep-modal-foot {
    background: linear-gradient(180deg, transparent, #101a15 28%);
  }

  [data-theme="light"] .ep-modal-foot {
    background: linear-gradient(180deg, transparent, #f3f7f1 28%);
  }

  .ep-card {
    padding: 1.8rem;
  }

  .ep-nutrition-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .ep-nut-arrow {
    transform: rotate(90deg);
    justify-content: center;
  }

  .ep-score-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .ep-coach-body {
    min-height: 34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ep-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    padding-right: 4%;
  }
}

/* ── Yakında kapısı ── */
.ebeveyn-platform {
  position: relative;
}

/* İlk kareden itibaren etkileşim kapalı; blur sonra gelir */
.ebeveyn-platform.is-teasing #ebeveyn-root {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.ebeveyn-platform.is-blurring #ebeveyn-root {
  filter: blur(14px) saturate(0.78);
  transform: scale(1.01);
  pointer-events: none;
  user-select: none;
  transition: filter 0.85s ease, transform 0.85s ease, opacity 0.85s ease;
  opacity: 0.72;
}

.ebeveyn-platform.ep-coming-soon #ebeveyn-root {
  filter: blur(16px) saturate(0.7);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.ep-soon-catcher {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: auto;
  cursor: default;
  background: transparent;
}

.ep-soon-catcher[hidden] {
  display: none !important;
}

.ep-soon-gate {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 7rem 1.25rem 2rem;
  background: rgba(8, 14, 12, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.ep-soon-gate[hidden] {
  display: none !important;
}

.ep-soon-gate.is-on {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

html.ep-soon-lock,
html.ep-soon-lock body {
  overflow: hidden;
}

.ebeveyn-platform.ep-coming-soon {
  min-height: 100vh;
}

.ep-soon-panel {
  position: relative;
  z-index: 2;
  width: min(34rem, 92vw);
  text-align: center;
  padding: 2rem 1.6rem 1.8rem;
  border-radius: 24px;
  background: rgba(15, 28, 22, 0.72);
  border: 1px solid rgba(64, 145, 108, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ep-soon-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1b4332;
  background: linear-gradient(135deg, #74a57f, #a89f7c);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.ep-soon-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #f3f7f4;
}

.ep-soon-panel h1 .accent {
  color: #74a57f;
}

.ep-soon-lead {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(243, 247, 244, 0.88);
  font-weight: 500;
}

.ep-soon-note {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: rgba(243, 247, 244, 0.55);
}

.ep-soon-home {
  display: inline-flex;
  margin-top: 1.35rem;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #1b4332;
  background: linear-gradient(135deg, #74a57f, #a89f7c);
  box-shadow: 0 6px 0 #1b4332;
}

.ep-soon-home:hover {
  filter: brightness(1.05);
}

.ep-soon-home:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #1b4332;
}

@media (max-width: 700px) {
  .ep-soon-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ep-soon-card--wide {
    grid-column: 1 / -1;
  }
}
