/* ==========================================================================
   Kurumsal / yasal sayfalar (/sayfa/{slug}) ve 404 (Bulunamadi.html)
   ========================================================================== */

/* İçerik sayfası */
.cms-page { padding-bottom: 64px; }
.cms-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.cms-article { padding: 40px 48px; min-width: 0; }
.cms-article .page-title { font-size: 36px; }
.cms-updated { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.cms-article .prose { margin-top: 24px; max-width: 760px; overflow-wrap: anywhere; }
.cms-article .prose .legal-note { margin-bottom: 8px; }
.cms-nav { padding: 20px 8px 12px; position: sticky; top: 16px; }
.cms-nav h2 { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 14px 8px; }
.cms-nav ul { list-style: none; margin: 0; padding: 0; }
.cms-nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 14px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.cms-nav a:hover { background: var(--ground); color: var(--ink); }
.cms-nav a[aria-current="page"] { background: var(--orange-50); color: var(--orange-700); font-weight: 800; }

/* 404 */
.nf-page { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding-block: 64px; text-align: center; }
.nf-art { display: flex; align-items: center; gap: 18px; }
.nf-digit { font-family: var(--font-display); font-size: 180px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: var(--petrol-600); }
.nf-basket { width: 168px; height: 168px; border-radius: 50%; background: var(--orange-600); color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(-12deg); }
.nf-text { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nf-text h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.nf-text p { max-width: 560px; font-size: 16.5px; line-height: 1.55; color: var(--ink-3); }
.nf-search { width: 100%; max-width: 620px; height: 58px; display: flex; border: 2px solid var(--orange-600); border-radius: var(--radius-panel); overflow: hidden; background: #fff; }
.nf-search:focus-within { box-shadow: var(--focus); }
.nf-search input { flex-grow: 1; min-width: 0; border: 0; outline: none; padding: 0 20px; font-size: 16px; background: transparent; }
.nf-search input::placeholder { color: var(--muted); }
.nf-search button { width: 110px; flex-shrink: 0; border: 0; background: var(--orange-600); color: #fff; font-size: 16px; font-weight: 800; }
.nf-search button:hover { background: var(--orange-700); }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.nf-btn { height: 52px; padding: 0 26px; font-size: 15.5px; }
.nf-cats { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nf-cats > span { font-size: 14px; font-weight: 700; color: var(--muted); }
.nf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nf-chips .chip { height: 42px; }
.nf-similar { width: 100%; margin-top: 12px; text-align: left; display: flex; flex-direction: column; gap: 18px; }
.nf-similar h2 { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.nf-chips .nf-deals { background: var(--orange-100); border-color: var(--orange-border); color: var(--orange-700); font-weight: 800; }
.nf-chips .nf-deals:hover { color: var(--orange-800); }

@media (max-width: 1023px) {
  .cms-grid { grid-template-columns: minmax(0, 1fr); }
  .cms-nav { position: static; }
  .cms-article { padding: 28px; }
}
@media (max-width: 767px) {
  .cms-page { padding-bottom: 32px; }
  .cms-article { padding: 20px 16px; }
  .cms-article .page-title { font-size: 28px; }
  .nf-page { padding-block: 32px; gap: 22px; }
  .nf-art { gap: 10px; }
  .nf-digit { font-size: 104px; }
  .nf-basket { width: 100px; height: 100px; }
  .nf-basket svg { width: 58px; height: 58px; }
  .nf-text h1 { font-size: 28px; }
  .nf-text p { font-size: 15px; }
  .nf-search { height: 52px; border-radius: var(--radius-input); }
  .nf-search input { padding: 0 14px; font-size: 15px; }
  .nf-search button { width: 76px; font-size: 15px; }
  .nf-actions { width: 100%; flex-direction: column; }
  .nf-btn { width: 100%; }
  .nf-chips .chip { height: 44px; }
}
