/* ==========================================================
   HİZMET SAYFALARI + BLOG
   ========================================================== */

/* --- Hizmet: "Neler yapıyoruz?" kartları --- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.offer { position: relative; padding: 22px 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; }
.offer:hover { border-color: var(--acc); transform: translateY(-3px); box-shadow: var(--shadow); }
.offer-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px; font-size: .82rem; font-weight: 800; color: var(--acc-text); background: var(--acc-soft); }
.offer b { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 6px; }
.offer p { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* --- Süreç adımları --- */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; counter-reset: s; }
.proc li { position: relative; padding: 20px 18px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.proc li::after { content: ""; position: absolute; top: 37px; right: -14px; width: 14px; height: 2px; background: var(--line-2); }
.proc li:last-child::after { display: none; }
.proc-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 12px; font-size: .82rem; font-weight: 800; color: #fff; background: var(--navy); }
.proc li:last-child .proc-no { background: var(--yellow); color: #111827; }
.proc b { display: block; color: var(--ink); margin-bottom: 6px; }
.proc p { color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* --- SSS --- */
.faq-list { margin-bottom: 20px; }
.faq-list details { margin-bottom: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.faq-list details[open] { border-color: var(--acc, var(--blue)); }
.faq-list summary { list-style: none; cursor: pointer; padding: 17px 54px 17px 20px; font-weight: 700; color: var(--ink); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.faq-list details[open] summary::after { content: "−"; background: var(--yellow); color: #111827; }
.faq-list details p { padding: 0 20px 18px; color: var(--text); line-height: 1.7; }

/* --- Yan menü bağlantıları --- */
.sol-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside-links { display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; transition: background .2s, color .2s; }
.aside-links a:hover { background: var(--bg-2); color: var(--blue); }
.aside-links .ico-sm { flex-shrink: 0; color: var(--muted); }
.related-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.related-head h2 { margin: 0; }

/* --- Hizmetler listesi --- */
.svc-index { display: grid; gap: 56px; }
.svc-index-group h2 { font-size: 1.35rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.svc-index-group h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.svc-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-tile { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); color: var(--text); transition: transform .3s, box-shadow .3s; }
.svc-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-tile .svc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 6px; color: var(--ink); background: color-mix(in srgb, var(--accent) 16%, #fff); }
.svc-tile b { color: var(--ink); font-size: 1.1rem; }
.svc-tile > span:not(.svc-ico):not(.post-more) { color: var(--muted); font-size: .93rem; line-height: 1.6; flex: 1; }

/* --- Zengin metin (blog ve panelden eklenen içerik) --- */
.prose { color: var(--text); font-size: 1.06rem; line-height: 1.85; margin-bottom: 36px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; color: var(--ink); margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { padding: 18px 22px; border-left: 4px solid var(--yellow); border-radius: 0 14px 14px 0; background: var(--yellow-soft); color: var(--ink); }
.prose img { border-radius: 16px; margin: 1.5em 0; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-2); font-size: .92em; }
.prose pre { padding: 18px; border-radius: 14px; background: var(--navy); color: #e2e8f0; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }

/* --- Blog kartları --- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-cover em { position: absolute; left: 14px; top: 14px; font-style: normal; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.post-cover-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9);
  background: radial-gradient(260px 160px at 85% 10%, rgba(251, 191, 36, .55), transparent 70%), radial-gradient(300px 200px at 10% 100%, rgba(225, 29, 42, .35), transparent 70%), linear-gradient(135deg, #1d4ed8, #0f172a); }
.post-cover-art .ico { width: 42px; height: 42px; opacity: .8; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.post-body small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.post-body b { color: var(--ink); font-size: 1.1rem; line-height: 1.35; }
.post-body > span:not(.post-more) { color: var(--muted); font-size: .92rem; line-height: 1.6; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.post-card:hover .post-more .ico-sm, .svc-tile:hover .post-more .ico-sm { transform: translateX(4px); }
.post-more .ico-sm { transition: transform .25s; }

/* Öne çıkan yazı */
.post-featured { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 30px; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: box-shadow .3s; }
.post-featured:hover { box-shadow: var(--shadow-lg); }
.post-featured .post-cover { aspect-ratio: auto; min-height: 300px; }
.post-featured .post-body { padding: 36px; justify-content: center; }
.post-featured .post-body b { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.post-flag { align-self: flex-start; font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--yellow-soft); color: var(--yellow-d); }

/* Kategori filtreleri */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.blog-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; transition: border-color .2s, background .2s; }
.blog-cats a:hover { border-color: var(--blue); }
.blog-cats a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-cats small { font-size: .75rem; padding: 1px 7px; border-radius: 99px; background: var(--bg-2); color: var(--muted); }
.blog-cats a.active small { background: rgba(255, 255, 255, .15); color: #fff; }
.blog-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; font-weight: 600; }
.blog-pager a { padding: 9px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.blog-pager a:hover { border-color: var(--blue); color: var(--blue); }
.blog-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.blog-empty .ico { width: 44px; height: 44px; margin-bottom: 12px; color: var(--line-2); }
.blog-empty b { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 6px; }

/* Yazı sayfası */
.post-hero h1 { max-width: 860px; }
.post-hero a.page-badge:hover { filter: brightness(.97); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.post-meta span + span::before { content: "•"; margin-right: 22px; color: var(--line-2); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.post-article { max-width: 760px; }
.post-cover-img { width: 100%; border-radius: 20px; margin-bottom: 30px; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-share b { color: var(--ink); margin-right: 4px; }
.post-share a, .post-share button { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .86rem var(--font); cursor: pointer; }
.post-share a:hover, .post-share button:hover { border-color: var(--blue); color: var(--blue); }
.post-preview-bar { position: sticky; top: 0; z-index: 60; padding: 10px 20px; text-align: center; font-weight: 700; font-size: .9rem; background: var(--yellow); color: #111827; }

@media (max-width: 1080px) {
  .proc { grid-template-columns: 1fr 1fr; }
  .proc li::after { display: none; }
  .svc-index-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .sol-aside { position: static; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-cover { min-height: 220px; }
}
@media (max-width: 680px) {
  .offer-grid, .proc, .svc-index-grid, .post-grid { grid-template-columns: 1fr; }
  .post-featured .post-body { padding: 24px; }
  .related-head { flex-wrap: wrap; }
}
