html,
body {
  overflow: auto;
}

.story-page {
  background-color: #f0f0f0;
  display: grid;
  place-items: start center;
  padding: 32px 16px;
  min-height: 100vh;
  box-sizing: border-box;
}
.story-panel {
  width: min(720px, 100%);
  background: var(--panel-bg);
  border: 3px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-lang {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.story-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}
.story-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.story-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.story-body p {
  margin: 0;
}
.story-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.story-foot {
  border-top: 2px solid var(--divider);
  padding-top: 12px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.story-foot a {
  color: var(--ink);
  font-weight: 700;
}

/* ── Hero + logo ── */
.story-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.story-logo {
  width: 104px;
  height: 104px;
}
/* ── Dil toggle ── */
.lang-btn {
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--btn-face);
  box-shadow: var(--shadow-ctl);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] {
  background: var(--accent);
}
/* ── Gövde tipografisi ── */
.story-body h2 {
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 800;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--divider);
}
.story-body h3 {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 700;
}
.story-intro {
  font-size: 16px;
  font-weight: 600;
}
.story-body a {
  color: var(--ink);
  font-weight: 700;
}
mark {
  background: rgba(252, 217, 64, 0.55);
  padding: 0 3px;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* ── Görseller ── */
.story-body figure {
  margin: 4px 0 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-ctl);
}
.story-body figure img {
  display: block;
  width: 100%;
  height: auto;
}
/* ── CTA satırı ── */
.story-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cta-primary,
.cta-primary:hover {
  background: var(--accent);
}

[hidden] {
  display: none !important;
}
.story-body h4 {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.story-body ul {
  margin: 0;
  padding-left: 22px;
}
.story-body li {
  margin: 0 0 8px;
}
.story-body li:last-child {
  margin-bottom: 0;
}
button.cta-btn {
  font: inherit;
  cursor: pointer;
}
