/* hubwapp.com/blog — sitenin renk ve yazı tipleriyle (Archivo başlık, Plus Jakarta Sans gövde) */
:root { --bg: #f7f9fb; --white: #fff; --fg: #101828; --dim: #475467; --faint: #667085; --edge: #e4e7ec; --accent: #ffd43b; --accent-soft: #fff6cc; --brand: #8a6100; --ink: #111; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.7 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, .card-title, .logo, .cta-t { font-family: Archivo, "Plus Jakarta Sans", sans-serif; letter-spacing: -0.02em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); padding: 8px 14px; border-radius: 8px; }

/* Üst menü */
.hdr { position: sticky; top: 0; z-index: 50; background: rgb(247 249 251 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; text-decoration: none; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--dim); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { background: #fff; color: var(--fg); }
.hdr-cta { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-yellow { background: var(--accent); color: #1a1300; }
.btn-login { border: 2px solid var(--accent); background: var(--accent-soft); color: var(--fg); }
.btn-ghost { color: var(--fg); }
@media (max-width: 980px) { .nav { display: none; } .hdr-cta { margin-left: auto; } }
@media (max-width: 480px) { .btn-login { display: none; } .hdr-in { gap: 12px; } }

/* Sayfa yolu, rozetler */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); padding-top: 32px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.cat { display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; text-decoration: none; text-transform: none; }
.meta { color: var(--faint); font-size: 14px; }
.lead { font-size: 20px; color: var(--dim); max-width: 720px; }

/* Blog ana sayfa */
.blog-hero { padding-bottom: 24px; }
.blog-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; margin: 18px 0 12px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--edge); background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--dim); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips small { opacity: .6; font-weight: 500; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 40px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--edge); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--fg); box-shadow: 0 18px 40px -24px rgb(16 24 40 / .35); }
.card-img { display: block; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, var(--accent-soft), #fff); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph { display: grid; place-items: center; height: 100%; font: 700 48px Archivo, sans-serif; color: var(--accent); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card-title { font-size: 21px; line-height: 1.2; font-weight: 600; }
.card-ex { color: var(--dim); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; }
.card.big { grid-column: 1 / -1; flex-direction: row; }
.card.big .card-img { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.card.big .card-body { flex: 1; padding: 32px; justify-content: center; }
.card.big .card-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width: 760px) { .card.big { flex-direction: column; } .card.big .card-img { aspect-ratio: 1200 / 630; min-height: 0; } .card.big .card-body { padding: 18px 20px 20px; } }
.pager { display: flex; gap: 6px; justify-content: center; padding-bottom: 48px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--edge); text-decoration: none; font-weight: 600; }
.pager a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 64px 20px; color: var(--dim); }
.empty h1 { color: var(--fg); }

/* Yazı */
.post-head { max-width: 820px; padding: 28px 0 8px; }
.post-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; margin: 10px 0 14px; font-weight: 500; }
.post-head .meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.post-head .meta strong { color: var(--fg); }
.avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; font: 700 18px Archivo, sans-serif; color: #1a1300; flex: none; }
.cover { margin: 24px 0 8px; }
.cover img { width: 100%; border-radius: 26px; aspect-ratio: 1200 / 630; object-fit: cover; background: #fff; }
.post-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; padding: 32px 0 24px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; gap: 0; } .toc-side { order: 2; } }
.toc-side { position: sticky; top: 100px; align-self: start; font-size: 14px; }
@media (max-width: 960px) { .toc-side { position: static; } }
.toc p, .share p { font-weight: 700; margin: 0 0 8px; color: var(--fg); }
.toc ol { list-style: none; margin: 0 0 24px; padding: 0; border-left: 2px solid var(--edge); }
.toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--dim); line-height: 1.4; }
.toc li a:hover { color: var(--fg); border-left-color: var(--accent); }
.share { display: flex; flex-wrap: wrap; gap: 6px; }
.share p { width: 100%; }
.share a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--edge); text-decoration: none; font-weight: 600; font-size: 13px; }
.prose { font-size: 18px; line-height: 1.8; color: #1d2939; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin: 2em 0 .6em; color: var(--fg); font-weight: 600; }
.prose h3 { font-size: 1.35rem; line-height: 1.3; margin: 1.6em 0 .5em; color: var(--fg); font-weight: 600; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; color: var(--fg); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 18px; margin: 1.2em 0; border: 1px solid var(--edge); }
.prose hr { border: 0; border-top: 1px solid var(--edge); margin: 2.4em 0; }
.prose code { background: #f2f4f7; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: #101828; color: #f2f4f7; padding: 16px; border-radius: 14px; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.4em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--edge); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2em 0 0; }
.tags span { font-size: 14px; color: var(--dim); background: #fff; border: 1px solid var(--edge); padding: 4px 10px; border-radius: 999px; }
.cta { margin-top: 40px; padding: 28px; border-radius: 26px; background: var(--ink); color: #fff; }
.cta-k { margin: 0; color: var(--accent); font-weight: 700; font-size: 14px; }
.cta-t { margin: 6px 0 8px; font-size: 26px; line-height: 1.2; font-weight: 600; }
.cta-d { margin: 0 0 18px; color: rgb(255 255 255 / .75); font-size: 16px; line-height: 1.6; }
.cta .btn-ghost { color: #fff; }
.related { padding: 24px 0 24px; border-top: 1px solid var(--edge); }
.related h2 { font-size: 28px; margin: 24px 0 20px; font-weight: 600; }

/* Alt bilgi */
.ftr { margin-top: 40px; border-top: 1px solid var(--edge); background: var(--bg); padding: 48px 0 96px; font-size: 15px; }
.ftr-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .ftr-cols { grid-template-columns: 1fr 1fr; } }
.ftr-cols p { color: var(--dim); margin: 10px 0 0; }
.ftr-cols .h { color: var(--fg); font-weight: 700; margin: 0 0 10px; }
.ftr-cols a:not(.logo) { display: block; color: var(--dim); text-decoration: none; padding: 4px 0; }
.ftr-cols a:hover { color: var(--fg); }
.disc { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--edge); color: var(--faint); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
